积极答复者
IIS-W3SVC-WP 事件ID:2307 for Windows10

问题
答案
-
我也是遇到这个一模一样的问题;最终在官方找到了解决办法:
- 通过使用以管理员身份运行选项打开 Windows PowerShell 窗口。
- 运行以下命令:
Stop-Service -Force WAS
Remove-Item -Recurse -Force C:\inetpub\temp\appPools\*
Start-Service W3SVC
如果第二条执行失败,手动打开
C:\inetpub\temp\appPools\文件夹清空
原文:
https://support.microsoft.com/en-us/help/4050891/error-http-503-and-was-event-5189-from-web-applications-on-windows-10
- 已标记为答案 mingxyzonline 2017年11月24日 7:44
全部回复
-
你好,
从你的描述来看, 我猜测是重装系统以后,你的IIS配置文件损坏或者IIS defaultAppPool的配置文件路径丢失。
我建议你可以尝试首先定位C:\Windows\System32\inetsrv\config里面的applicationHost.config文件存在不存在。
然后可以尝试删除这个文件,然后重装IIS。
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com. -
你好,
这个错误信息是在IIS重装之后报的?
这些选项是不是全部都选上了?
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com. -
是重装IIS後出现的问题,否则也不会重装。
安装选项FTP Server未选,Web Management Tools只选了控制台。
- 已编辑 mingxyzonline 2017年11月8日 0:52
-
我也是遇到这个一模一样的问题;最终在官方找到了解决办法:
- 通过使用以管理员身份运行选项打开 Windows PowerShell 窗口。
- 运行以下命令:
Stop-Service -Force WAS
Remove-Item -Recurse -Force C:\inetpub\temp\appPools\*
Start-Service W3SVC
如果第二条执行失败,手动打开
C:\inetpub\temp\appPools\文件夹清空
原文:
https://support.microsoft.com/en-us/help/4050891/error-http-503-and-was-event-5189-from-web-applications-on-windows-10
- 已标记为答案 mingxyzonline 2017年11月24日 7:44
-
你好
关于 C:\inetpub\temp\appPools 这个目录的问题,以前使用 IIS 时也遇到过,方式可以是把这个文件夹清空,也可以是给这个路径添加一下 everyone 的完全控制权限,供参考!
希望我的答案能帮助更多的人。
博客地址: http://www.cnblogs.com/shaomeng -
Article ID: 4050891 - Last Review: Oct 18, 2017 - Revision: 9
Web applications return HTTP Error 503 and WAS event 5189 on Windows 10 Version 1709 (Fall Creators Update)
相当清晰地分析了我问题的表现形式和产生的原因,正如我猜测在更新Win10补丁1709时发生的;
经过测试在我电脑系统的C:\inetpub\temp\appPools\文件夹下存在一个Symbolic link,
表现形式为文件夹类型的快捷方式DefaultAppPool,把该快捷方式删除後,系统就能正常生成DefaultAppPool文件夹,
于是IIS服务也就正常了。
- 已建议为答案 shao.meng 2017年11月24日 8:14