IIS w3svc 错误 [英] IIS w3svc error

查看:20
本文介绍了IIS w3svc 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在 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:

  1. 确认Windows Management Instrumentation"已启动且启动类型设置为automatic.

还要确保为万维网发布服务启动了以下依赖服务:

Also make sure the following dependency services are started for World Wide Web Publishing Service:

  • Windows 进程激活服务
  • 远程过程调用 (RPC)
  • DCOM 服务器进程启动器
  • RPC 端点映射器.

打开regedit,导航到[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesHTTP]:
a) 双击 Start 并将值数据从 4(禁用)更改为 3(自动).
b) 如果该键存在,则删除 "NoRun" 键.

Open regedit, navigate to [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesHTTP]:
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 进程激活服务(如果已安装)"并重新启动您的 PC.

(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 中输入以下命令并回车:

Type the below command in CMD and press enter:

net start http

现在它会通知您服务已经在运行.

Now it will notify you that service is already running.

  1. 从打开或关闭 Windows 功能"重新安装 Internet 信息服务.

  1. 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆