IIS w3svc错误 [英] IIS w3svc error
问题描述
我试图在IIS中启动我的网站,每当我尝试启动我的网站时,我都会收到以下错误
I am trying to start my website in IIS, whenever I try to start my website I get the following error
无法启动服务计算机上的w3svc
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:
错误1068:依赖服务或组无法启动
Error 1068: The dependency service or group failed to start
同时当我检查我的日志时发现此错误,
Meanwhile when I checked my log I found this error,
World Wide Web Publishing Service服务依赖于HTTP服务由于以下错误而无法启动:
服务无法启动,因为它已被禁用或者没有与之关联的已启用设备。
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.
推荐答案
好最后一个星期斗争,我来到了一个解决方案。我列出了我为解决错误而遵循的步骤:
Well finally after a week struggle, I came to a solution. I am listing down the steps which I followed to solve my error:
-
确认已启动Windows Management Instrumentation并且启动类型设置为
自动
。
还要确保为World启动以下依赖项服务Wide Web Publishing服务:
Also make sure the following dependency services are started for World Wide Web Publishing Service:
- Windows流程激活服务
- 远程过程调用(RPC)
- DCOM服务器进程启动器
- RPC终结点映射器。
- Windows Process Activation Service
- Remote Procedure Call (RPC)
- DCOM Server Process Launcher
- RPC Endpoint Mapper.
打开注册表,导航到 [HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet \Services\HTTP]
:
a)双击开始
并将值数据从 4
(已禁用)更改为 3
(自动)。
b)如果此键存在,则删除NoRun
键。
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.
(警告:先备份任何IIS网站配置)。从打开或关闭Windows功能中联合安装Internet信息服务和Windows进程激活服务(如果已安装)并重新启动您的电脑。
(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.
在CMD中键入以下命令并按Enter键:
Type the below command in CMD and press enter:
net start http
现在它会通知你服务已在运行。
Now it will notify you that service is already running.
-
从打开或关闭Windows功能重新安装互联网信息服务。
Re-install Internet information Service from "Turn windows feature on or off".
启动IIS,我的网站立即启动,不再w3svc服务没有运行错误。
Start IIS and my websites are started now, no more "w3svc service is not running error."
这篇关于IIS w3svc错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!