问题描述
我试图在IIS中启动我的网站,每当我尝试启动我的网站时,我都会收到以下错误
I am trying to start my website in IIS, whenever I try to start my website I get the following error
我试图启动万维网发布服务,但我无法启动它,因为它说:
I tried to start "World wide web publishing service", but I was unable to start it as it said:
同时当我检查我的日志时发现此错误,
Meanwhile when I checked my log I found this error,
请帮助我,我很容易发现这个错误,我花了一周时间研究这个错误,但还没有找到解决方案。
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错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!