无法在 Windows 7 上安装“IIS 6 Metabase and IIS 6 Configuration Compatibility”

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2978796/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 14:36:05  来源:igfitidea点击:

Can't get "IIS 6 Metabase and IIS 6 Configuration Compatibility" installed on Windows 7

windowsiis

提问by Nicholas

I'm trying to get Visual Studio setup to be able to use my local IIS server for hosting projects-- it tells me I need to install "IIS 6 Metabase and IIS 6 Configuration Compatibility". So I have tried to do so via Add/Remove Windows Components. The installation process gets to the end and then states that an error has occurred and not all components could be installed (helpful, right?) Then asks me to reboot-- upon reboot, the feature is not installed.

我试图让 Visual Studio 安装程序能够使用我的本地 IIS 服务器来托管项目——它告诉我我需要安装“IIS 6 Metabase 和 IIS 6 配置兼容性”。所以我尝试通过添加/删除 Windows 组件来这样做。安装过程结束,然后指出发生了错误并且并非所有组件都可以安装(有用,对吗?)然后要求我重新启动 - 重新启动时,该功能未安装。

Has anyone experienced this problem under Windows 7 before? I am running the 64-bit Ultimate edition if it matters.

有没有人在 Windows 7 下遇到过这个问题?如果重要的话,我正在运行 64 位 Ultimate 版本。

I've also tried completely uninstalling IIS (that worked) then reinstalling with "IIS 6 Metabase and IIS 6 Configuration Compatibility" checked -- same failure at the end of the install.

我还尝试完全卸载 IIS(有效),然后重新安装并检查“IIS 6 Metabase 和 IIS 6 配置兼容性”——安装结束时同样失败。

There is a \Windows\IIS7.log file I can use for debugging but it's fairly large and random.. I don't see anything that screams "fatal error".

有一个 \Windows\IIS7.log 文件可用于调试,但它相当大且随机。我没有看到任何尖叫“致命错误”的内容。

回答by Frances

I've also had the same problem using Visual Studio 2010 on Vista, but I've got this answer back from Geoffrey, provided his address below...wonder if that would also work for Windows 7.

我在 Vista 上使用 Visual Studio 2010 也遇到了同样的问题,但我从 Geoffrey 那里得到了这个答案,在下面提供了他的地址......想知道这是否也适用于 Windows 7。

Im in the process of installing Windows 7 on my laptop and wonder if you are able to fix your error with the answer I received then I will follow the same procedure once I've installed Windows 7 to fix the error

我正在我的笔记本电脑上安装 Windows 7,想知道您是否能够使用我收到的答案修复错误,然后我将在安装 Windows 7 后按照相同的步骤修复错误

heres the address... follow is thru...it fixed my error. hope it'll help fix your error...

继承人地址... 按照是通过...它修复了我的错误。希望它会帮助修复您的错误...

http://blog.geoffreyemery.com/post/iis-6-metabase-and-iis-6-configuration-compatibility-error.aspx

http://blog.geoffreyemery.com/post/iis-6-metabase-and-iis-6-configuration-compatibility-error.aspx

Chers Frances

弗朗西丝

回答by David Stokes

I had a similar problem. Same symptom trying to install it fails and reboot rolls back install.

我有一个类似的问题。尝试安装它的相同症状失败并且重新启动回滚安装。

with Microsoft support the following resolved the issue.

通过 Microsoft 支持,以下解决了该问题。

  1. Enabled Administrator Account on Windows 7 machine using following command net user administrator /active:yes

  2. Logged in as administrator account on Windows 7 machine

  3. Installed IS 6 Management Compatibility,IIS 6 Management Console,IIS 6 Management Scripts and Tools and IIS 6 Management Service components.

  1. 使用以下命令在 Windows 7 机器上启用管理员帐户 net user administrator /active:yes

  2. 在 Windows 7 机器上以管理员帐户登录

  3. 安装了 IS 6 Management Compatibility、IIS 6 Management Console、IIS 6 Management Scripts and Tools 和 IIS 6 Management Service 组件。

Even though my account was in the administrators group..that was not enough I had to be logged in as the administrator to resolve this issue.

即使我的帐户在管理员组中...这还不够,我必须以管理员身份登录才能解决此问题。