加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

iis-7 – 必须运行IISRESET两次才能启动所有与IIS相关的服务

发布时间:2020-12-14 00:15:46 所属栏目:Windows 来源:网络整理
导读:好像当我从命令提示符执行IISRESET时,我在大约90%的时间内收到重启错误.在Win 2008上运行IIS7.但我在IIS6和Win2003上看到了同样的东西.第二次运行IISRESET似乎启动了一切,或者我可以手动重启 – 但我很好奇我是否可以让它与一个IISRESET一致地工作. Attempt
好像当我从命令提示符执行IISRESET时,我在大约90%的时间内收到重启错误.在Win 2008上运行IIS7.但我在IIS6和Win2003上看到了同样的东西.第二次运行IISRESET似乎启动了一切,或者我可以手动重启 – 但我很好奇我是否可以让它与一个IISRESET一致地工作.
Attempting stop...
Internet services successfully stopped
Attempting start...
Restart attempt failed.
The IIS Admin Service or the World Wide Web Publishing Service,or a service dep
endent on them failed to start.  The service,or dependent services,may had an
error during its startup or may be disabled.

C:Usersbtinstall>iisreset

Attempting stop...
Internet services successfully stopped
Attempting start...
Internet services successfully restarted
消息说“服务或依赖服务可能有一个
启动时出错或可能被禁用.“这可能发生在IIS 7 / 7.5中,因为WAS(Windows进程激活服务)可能需要一些时间来刷新.

确保IIS相关服务成功重启的最佳方法是使用“net stop W3SVC”和“net start W3SVC”作为管理员.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读