简体   繁体   English

IIS 管理器 - 无法启动 W3SVC 和 IIS 管理员从服务中丢失

[英]IIS Manager - Cant start W3SVC and IIS Admin is missing from Service

I am trying to start W3SVC on Windows 10 but I am facing several issues here:我正在尝试在 Windows 10 上启动W3SVC ,但我在这里遇到了几个问题:

I went to Task Manager and clicked the Services tab then I found the W3SVC service and I right clicked it and choose start but it did not start.我去Task Manager并单击服务选项卡,然后我找到了W3SVC服务,我右键单击它并选择start ,但它没有启动。 I tried to click it several times.我试图点击它几次。

I do have IIS Manager but IIS Admin is missing from Services which I do not know why.我确实有IIS Manager ,但Services中缺少IIS Admin ,我不知道为什么。

World Wide Web Publishing Service is turned on and it is running automatically The dependencies tab have everything in there as it should be. World Wide Web Publishing Service已打开并automatically运行 依赖项选项卡中应有的所有内容。 HTTP Service and Window Process Activation Service HTTP 服务和 Window 进程激活服务

I did try to restart IIS in command prompt iisreset .我确实尝试在命令提示符iisreset中重新启动 IIS 。 But it failed and the error appeared:但它失败了,出现了错误:

The IIS Admin Service or the World Wide Web Publishing Service, or a service dependent on them failed to start. The service, or dependent services, may had an error during its startup or may be disabled.

I am trying to run a custom website I created on IIS Manager but it wont start.我正在尝试运行我在IIS Manager上创建的自定义网站,但它不会启动。 The error appeared:出现错误:

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:我试图启动“全球 web 发布服务”,但我无法启动它,因为它说:

Error 1068: The dependency service or group failed to start

I want to start the website that I created in my inetpub and I want this w3svc up and running我想启动我在我的inetpub中创建的网站,我希望这个w3svc启动并运行

  • open Control Panel->Programs->Programs and Features->Turn windows features on or off -> Uncheck "Internet Information Services" and "Windows Process Activation Service"打开控制面板->程序->程序和功能->打开或关闭windows功能->取消选中“Internet信息服务”和“Windows进程激活服务”

  • Restart your machine.重新启动您的机器。

  • open Control Panel->Programs->Programs and Features->Turn windows features on or off -> install both "Internet Information Services" and "Windows Process Activation Service"打开控制面板->程序->程序和功能->打开或关闭windows功能->安装“Internet信息服务”和“Windows进程激活服务”

if you still face issue then check the event viewer log.如果您仍然遇到问题,请检查事件查看器日志。

Try this commands on cmd:在 cmd 上尝试以下命令:

reg delete HKLM\SYSTEM\CurrentControlSet\Services\WAS\Parameters /v GenerateKeys /f
net start w3svc
net stop apphostsvc
net start apphostsvc

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM