在 Windows Vista Home Premium 上重新安装 IIS7 失败

发布于 2024-12-28 15:01:51 字数 2450 浏览 1 评论 0原文

我无法在 Windows Vista Home Premium 笔记本电脑上重新安装 IIS7。以前的 IIS7 安装在安装某些 Windows 自动更新时失败。更新已被删除,并且 IIS7 已被卸载。

每次尝试安装 IIS7(在 Windows 功能中选择 Internet 信息服务树下的所有功能)时,最后都会收到一条错误消息,指出某些功能配置不正确并且安装不会成功。

安装总是失败,Windows 重新启动后提示更新配置不正确并卸载它们。

请您帮忙分析一下IIS重新安装失败的可能原因。我已经做了很多论坛搜索,有类似的重新安装问题,但解决方案在我的实例中并不成功。

谢谢您的宝贵时间;我很乐意详细说明任何要点,并对这个问题的含糊之处表示歉意。

IIS7.log 错误的重要部分如下:

[01/20/2012 19:40:40] [ IIS 7.0 组件基于设置]

[01/20/2012 19:40:40] “C:\Windows\System32\inetsrv\iissetup.exe”/install SharedLibraries

[01/20/2012 19:40:40] <警告! >无法检测是否启用配置重定向。结果=0x80070032。假设配置未重定向并继续。

[01/20/2012 19:40:40] NetFrameworkConfigurationKey 密钥容器已存在

[01/20/2012 19:40:40] 在 NetFrameworkConfigurationKey 上设置 ACL

[01/20/2012 19:40:40] iisWasKey 密钥容器已存在

[01/20/2012 19:40:40] iisWasKey 用户密钥已存在

[01/20/2012 19:40:40] iisConfigurationKey 已存在

[01/20/2012 19:40:40] < !!失败!! >安装组件 SharedLibraries 结果 = 0x80070032

[01/20/2012 19:40:40] < !!失败!! > COMPONENT::ExecuteCommand 结果=0x80070032

[01/20/2012 19:40:40] [ IIS 7.0 基于组件的安装结束]

[01/20/2012 19:40:42] [ 基于 IIS 7.0 组件的设置 ]

[01/20/2012 19:40:42] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe 重置配置 -section:system.applicationHost/applicationPools

[01/20/2012 19:40:42] <警告! >无法检测是否启用配置重定向。结果=0x80070032。假设配置未重定向并继续。

[01/20/2012 19:40:42] 启动命令 C:\Windows\System32\inetsrv\appcmd.exe,参数为 C:\Windows\System32\inetsrv\appcmd.exe 重置配置 -section:system.applicationHost/应用程序池

[01/20/2012 19:40:42] < !!失败!! > LaunchCommand result=0x80070032

[01/20/2012 19:40:42] [基于 IIS 7.0 组件的安装结束]

[01/20/2012 19:40:42] [基于 IIS 7.0 组件的设置]

[01/20/2012 19:40:42] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe 重置配置 -section:system.applicationHost/listenerAdapters

[01/20/2012 19:40:42] <警告! >无法检测是否启用配置重定向。结果=0x80070032。假设配置未重定向并继续。

已尝试以下操作,但出现相同的错误 IIS7.log 错误:

a) 卸载 Windows Process Activation Service,重新启动,然后尝试重新安装 IIS7

b) 管理员命令行尝试在另一次重新安装失败之前完全擦除 IIS7 安装

start /w pkgmgr .exe /uu:IIS-WebServerRole;WAS-WindowsActivationService

I cannot reinstall IIS7 on a windows vista home premium laptop. A previous working IIS7 installation failed upon installation of some windows automatic updates. The updates have been removed, and IIS7 was uninstalled.

Every time the IIS7 installation is attempted (with the selection of ALL features under the Internet Information Services tree in Windows Features), an error is received at the end saying that some features were not configured correctly and that the installation will not succeed.

The installation always fails with windows rebooting saying that updates were not configured properly and uninstalling them.

Can you please assist with the possible cause of the IIS reinstallation failure. I have done a lot of forum searches, with similar reinstallation problems, but the solutions are not successful in my instance.

Thankyou for your time; I would be happy to elaborate on any points and apologise for the vagueness of this question.

What appears to be the important part of the IIS7.log error is the following:

[01/20/2012 19:40:40] [ IIS 7.0 Component Based Setup ]

[01/20/2012 19:40:40] "C:\Windows\System32\inetsrv\iissetup.exe" /install SharedLibraries

[01/20/2012 19:40:40] < WARNING! > Failed to detect if config redirection is enabled. result=0x80070032.Assuming config is not redirected and continuing.

[01/20/2012 19:40:40] NetFrameworkConfigurationKey key container already exists

[01/20/2012 19:40:40] Set ACLs on NetFrameworkConfigurationKey

[01/20/2012 19:40:40] iisWasKey key container already exists

[01/20/2012 19:40:40] iisWasKey user key already exists

[01/20/2012 19:40:40] iisConfigurationKey already exists

[01/20/2012 19:40:40] < !!FAIL!! > Install of component SharedLibraries result=0x80070032

[01/20/2012 19:40:40] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x80070032

[01/20/2012 19:40:40] [ End of IIS 7.0 Component Based Setup ]

[01/20/2012 19:40:42] [ IIS 7.0 Component Based Setup ]

[01/20/2012 19:40:42] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.applicationHost/applicationPools

[01/20/2012 19:40:42] < WARNING! > Failed to detect if config redirection is enabled. result=0x80070032.Assuming config is not redirected and continuing.

[01/20/2012 19:40:42] Launching command C:\Windows\System32\inetsrv\appcmd.exe, with params C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.applicationHost/applicationPools

[01/20/2012 19:40:42] < !!FAIL!! > LaunchCommand result=0x80070032

[01/20/2012 19:40:42] [ End of IIS 7.0 Component Based Setup ]

[01/20/2012 19:40:42] [ IIS 7.0 Component Based Setup ]

[01/20/2012 19:40:42] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.applicationHost/listenerAdapters

[01/20/2012 19:40:42] < WARNING! > Failed to detect if config redirection is enabled. result=0x80070032.Assuming config is not redirected and continuing.

The following have been tried, with the same error IIS7.log error:

a) Uninstall Windows Process Activation Service, reboot, before attempting reinstall of IIS7

b) Administrator command line to try and fully wipe IIS7 install before another reinstall failure

start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

胡大本事 2025-01-04 15:01:51

最好先使用以下命令卸载已安装的 IIS,在 CMD 中以管理员权限运行,然后使用 Web Platform Installer 安装 IIS。这将易于管理。

start /w pkgmgr /uu:IIS-WebServerRole;IIS-WebServerManagementTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-ASPNET;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-NetFxExtensibility;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-HttpTracing;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Performance;IIS-HttpCompressionStatic;IIS-Security;IIS-RequestFiltering;IIS-WindowsAuthentication;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

有用的链接

Better to first uninstall the installed IIS using following Command run with the admin privilege in CMD and install IIS using Web Platform Installer.It will be easy to manage.

start /w pkgmgr /uu:IIS-WebServerRole;IIS-WebServerManagementTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-ASPNET;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-NetFxExtensibility;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-HttpTracing;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Performance;IIS-HttpCompressionStatic;IIS-Security;IIS-RequestFiltering;IIS-WindowsAuthentication;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

Helpful Link

放我走吧 2025-01-04 15:01:51
  1. 打开regedit,导航到[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]:
    a) 将 Start 从 4(禁用)更改为 3(自动)
    b) 如果“NoRun”键存在,则删除该键

  2. 重新启动服务器。

  3. 再次重新安装IIS7。


http://blogs.msdn.com/b/asiatech/archive/2011/01/10/iis7-re-installation-failed-due-to-http-service-disabled.aspx

  1. Open regidit, navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]:
    a) Change Start from 4 ( disabled) to 3 ( automatically)
    b) Delete "NoRun" key if this key exists

  2. Reboot the server.

  3. Reinstall IIS7 again.

from
http://blogs.msdn.com/b/asiatech/archive/2011/01/10/iis7-re-installation-failed-due-to-http-service-disabled.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文