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" />
Code: Select all
<section name="configHistory" allowDefinition="AppHostOnly" overrideModeDefault="Deny" />
10) Try to restart the Window Activation Process Service (WAS). If the service starts, your IIS will then be able to start.