Monday, January 10, 2011

IIS7 re-installation failed due to HTTP service disabled

Symptom

Customer complained that he tried to re-install IIS7 as he found WWW service couldn't be started. However, the installation always failed and was reported "fatal error during installation".
Based on our experience, we uninstalled WAS (Windows Process Activation Service) first, and then tried to install IIS7 again. Unfortunately, we still got the same result.  IIS7 installation log looked like below:
[12/24/2010 12:04:34] [ ***** IIS 7.0 Component Based Setup ***** ]
[12/24/2010 12:04:34] "C:\Windows\System32\inetsrv\iissetup.exe" /install CoreWebEngine
[12/24/2010 12:04:34] Install of component CoreWebEngine succeeded!
[12/24/2010 12:04:34] Success!
[12/24/2010 12:04:34] [ End of IIS 7.0 Component Based Setup ]
[12/24/2010 12:04:34] [ ***** IIS 7.0 Component Based Setup ***** ]
[12/24/2010 12:04:34] "C:\Windows\System32\inetsrv\iissetup.exe" /install W3SVC
[12/24/2010 12:04:34] < !!FAIL!! > SERVICE_CONTROLLER::StartNamedService W3SVC result=0x8007042c
[12/24/2010 12:04:34] < !!FAIL!! > Install of component W3SVC result=0x8007042c
[12/24/2010 12:04:34] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8007042c
[12/24/2010 12:04:34] [ End of IIS 7.0 Component Based Setup ]

Read more: AsiaTech: Learning by Practice