World Wide Web Publishing Service (W3SVC) has stopped, the website cannot be started unless World Wide Web Publishing Service (W3SVC) is running

If you encounter the error message "World Wide Web Publishing Service (W3SVC) has stopped, the website cannot be started unless World Wide Web Publishing Service (W3SVC) is running"" error message when starting an IIS website, it means that the W3SVC service that the website depends on is not working properly start up.
Here are some possible workarounds:

1. Start the W3SVC service:


2. Open the "Services" control panel by pressing the Win + R keys, then type "services.msc" and press Enter.
3. In the list of services, look for "World Wide Web Publishing Service (W3SVC)".
4. Right-click the service, select "Start". If the service is already started, try "restart".
5. Check whether the startup type of the service is set to "Automatic" so that it starts automatically when the system starts.


6. Check dependent services:


7. The W3SVC service may depend on other services. Make sure these dependent services are started.
8. Some common dependent services include "Windows Process Activation Service (WAS)" and "HTTP SSL". Make sure these services start properly.


9. Check system integrity:


10. Run the System File Checker (System File Checker, SFC) to check and fix system file integrity issues. Open a command prompt (run as administrator) and run the following command:
 
 sfc /scannow

11. If SFC detects any problems and fixes them successfully, restart your computer and try restarting the W3SVC service and your website.


12. Check firewall and security software:


13. Certain firewalls or security software may prevent the normal operation of W3SVC service. Try disabling or temporarily turning off your firewall and security software, then restarting the W3SVC service and website to see if that resolves the issue.

Guess you like

Origin blog.csdn.net/qq1507171150/article/details/131763033