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
I tried to start "World wide web publishing service", but I was unable to start it as it said:
Error 1068: The dependency service or group failed to start
Meanwhile when I checked my log I found this error,
The World Wide Web Publishing Service service depends on the HTTP service which failed to start because of the following error:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
Please help me, I am badly caught with this error, I have spent a week researching this error but haven't found a solution yet.
The W3SVC service is a Windows service that is responsible for making IIS (Internet Information Services) work. The W3SVC service also manages the HTTP protocol and HTTP performance for IIS which needs to be running to allow Sisense (and other sites) to work.
Right click on the bar on the bottom of the screen, observe a menu pops up, then choose Task Manager. Choose tab Services. Find the W3SVC service under Name.
To install the World Wide Web Publishing ServiceSelect Internet Information Services Manager, and then click Details. Select World Wide Web Service, and then select the check box. Click OK two times to return to the Components list, and then click Next. Click Finish when the IIS service is installed.
Well finally after a week struggle, I came to a solution. I am listing down the steps which I followed to solve my error:
Confirm that "Windows Management Instrumentation" is started and its start up type is set to automatic
.
Also make sure the following dependency services are started for World Wide Web Publishing Service:
Open regedit, navigate to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP]
:
a) Double click on Start
and change value data from 4
(disabled) to 3
(automatically).
b) Delete "NoRun"
key if this key exists.
(warning: backup any IIS website configuration first). UN-install "Internet information Service" and "Windows process activation service(if it is already installed)" from "Turn windows feature on or off" and Restart your PC.
Type the below command in CMD and press enter:
net start http
Now it will notify you that service is already running.
Re-install Internet information Service from "Turn windows feature on or off".
Start IIS and my websites are started now, no more "w3svc service is not running error."
As for me - I just restarted the computer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With