2
0
I'm trying to test a WCF project that I've published which was created in VB.NET. When I go into IIS manager and try to start the website, it says
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.
So to fix this, I've gone into 'Services' and scrolled down to 'World Wide Web Publishing Service' which isn't currently running. I tried to start this and was then presented with another message
Windows could not start the World Wide Web Publishing Service service on local computer. Error 1068: The dependency service or group failed to start
When looking in the properties, the dependencies branched out as follows
When looking back in services, all of these were running except one.
The only one which isn't running is Windows Process Activation Service
When I try to start this service it says
Windows could not start the Windows Process Activation Service service on Local Computer
Error 2: The system cannot find the file specified
How can I start these services so that I can start my website in inetmgr
?
EDIT
I am using Windows 10 64-bit. My IIS version I'm not sure of, but based on a quick Google search I'd imagine it's version 8 or higher.
(1) Do you have in the registry under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WAS\Parameters
and item calledNanoSetup
, and what happens if you rename it and reboot? (2) Disable the IIS feature, restart, enable again, restart. (3) Check if fileC:\Windows\System32\inetsrv\Config\applicationHost.config.tmp
exists and if not copyapplicationHost.config
to that name. – harrymc – 2018-10-20T11:20:02.453