I've just upgraded in-Place a 2008 R2 IIS server to 2012 R2, and after the Upgrade, the upgraded server has some issues With IIS.
The website will not start, and I get these errors:
first trying to start IIS from the management console:
Cannot start service W3SVC on computer '.'.
Then I try to start the site, and I get this error Message:
Websites cannot be started unless both the Windows Activation Service (WAS) and the World Wide Web Publishing Service (W3SVC) are running, Both services are currently stopped
When i browse to these two in Services.msc and try a manual start, I get these errors:
On the WAS service: Windows could not start the Windows Process Activation Service service on Local Computer. Error 50: The request is not supported
On the World Wide Web Publishing Service: Windows could not start the World Wide Web Publishing Service service on Local Computer. Error 1068: The dependency service or Group failed to start
In the System eventlog i get these error events:
5211: The Windows Process Activation Service (WAS) started with 'Classic' mode using 'ConfigurationSystem'
5172: The Windows Process Activation Service encountered an error trying to read configuration data from file '\\?\C:\Windows\system32\inetsrv\config\applicationHost.config', line number '941'. The error message is: 'The configuration section 'system.web'
cannot be read because it is missing a section declaration'. The data field contains the error number.
5036: The configuration manager for Windows Process Activation Service (WAS) did not initialize. The data field contains the error number.
5005: Windows Process Activation Service (WAS) is stopping because it encountered an error. The data field contains the error number.
I replaced the applicationHost.config file in the C:\Windows\System32\inetsrv\configwith the old one from C:\Windows.old\WINDOWS\System32\inetsrv\config, but this did not help.
What should I do next?