IIS w3svc error

2019-01-17 00:26发布

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.

12条回答
beautiful°
2楼-- · 2019-01-17 01:07

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.

查看更多
来,给爷笑一个
3楼-- · 2019-01-17 01:07

I have had this problem after a windows update. Windows Process Activation Service is dependent service for W3SVC. First, make sure that Windows Process Activation Service is running. In my case, it was not running and when I tried to run it manually, I got below error.

Windows Process Activation Service Error 2: The system cannot find the file specified

The issue seems to be, that windows adds an incorrect parameter to the WAS service startup parameters. I fixed the issue using the following steps:

  • Start regedit (just type it into start) Navigate to

  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS\Parameters

  • Delete the NanoSetup variable. This variable is preventing WAS from starting

  • Start the WAS service using task manager

  • Now start the W3SVC service

  • You can now start your website in IIS again

I found above WPA service solution in this stack overflow thread.

查看更多
相关推荐>>
4楼-- · 2019-01-17 01:10

In my case, IIS suddenly stoped working, and after that Windows process activation service was unable to restart.

The solution to fix this was:

  1. Find WAS service in the services tab of windows task manager
  2. In context menu choose Go to process
  3. Kill process (its name will be svchost.exe)
  4. Restart Windows process activation service

Hope it will be usefull.

查看更多
孤傲高冷的网名
5楼-- · 2019-01-17 01:12

Run cmd as administrator. Type iisreset. That's it.

查看更多
女痞
6楼-- · 2019-01-17 01:13

As for me - I just restarted the computer.

查看更多
我命由我不由天
7楼-- · 2019-01-17 01:17

For me the solution was easy, there was no room left on drive C, once deleted some old files i was able to perform IISReset and all the services started successfully.

查看更多
登录 后发表回答