Vista service pack 1 may stop IIS services

A collection of information about Vault, including solutions to common problems.

Moderator: SourceGear

Post Reply
Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Vista service pack 1 may stop IIS services

Post by Beth » Thu Mar 20, 2008 10:34 am

If you install the Vista service pack 1, there is a chance that your IIS may stop due to the WAS (Windows Activation Process) service being unable to start. When you attempt to start IIS, you may receive the error: The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start. The service, or dependent services, may had an error during its startup or may be disabled.


The solution is to:
1) Make a backup of your applicationhost.config.
2) Bring up a command prompt as administrator.
3) Type cd %windir%\System32\inetsrv\config
4) press enter
5) type notepad ApplicationHost.config
6) press enter
7) Locate the following code:

Code: Select all

<configSections>
  <sectionGroup name="system.applicationHost">
     <section name="applicationPools" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
8)ADD the following line:

Code: Select all

<section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
9) Save the file
10) Try to restart the Window Activation Process Service (WAS). If the service starts, your IIS will then be able to start.

Post Reply