I am trying to start my website in IIS, whenever I try to start my website I get the following error
Cannot start service w3svc on computer
This is probably a rarer case, but...
If you are using a custom AppPool Identity configuration be sure to check the AppPool is running. It may be turned off because credentials are invalid (usually due to an expired password). Update your credentials and start the AppPool.
Run cmd as administrator. Type iisreset
. That's it.
In my case it was C:\Windows\System32\inetsrv\config\applicationHost.config which had an issue. I had a "system.web" section in this file which was causing the problem. Removed the section and everything started working
I know this post is old but I was getting this error. It turns out World Wide Web Publishing Service was disabled.
I managed to solve after:
Ready! Be happy!
In my case, IIS suddenly stoped working, and after that Windows process activation service was unable to restart.
The solution to fix this was:
Hope it will be usefull.