[英]Unable to run websites on local IIS
I have a sneaky suspicion that this problem is related to a recent Windows Update. 我暗中怀疑此问题与最近的Windows Update有关。 I keep getting
HTTP Error 503. The service is unavailable.
我一直收到
HTTP Error 503. The service is unavailable.
when I try to run websites locally on my development workstation. 当我尝试在开发工作站上本地运行网站时。 If I try to debug from Visual Studio 2017 I get
如果我尝试从Visual Studio 2017调试,我会得到
Unable to start debugging on the web server.
无法在Web服务器上启动调试。 The remote server returned an error: (503) Server Unavailable.
远程服务器返回错误:(503)服务器不可用。
When I look at the application pool in IIS Manager, it is stopped. 当我在IIS管理器中查看应用程序池时,它停止了。 I restart it, but it eventually stops by itself.
我重新启动它,但是它最终会自行停止。
In the Windows Application log, I have this: 在Windows应用程序日志中,我有以下内容:
The worker process for application pool 'DefaultAppPool' encountered an error 'Cannot read configuration file ' trying to read configuration data from file
'\\\\?\\<EMPTY>'
, line number '0'.应用程序池“ DefaultAppPool”的工作进程遇到错误“无法读取配置文件”,试图从文件
'\\\\?\\<EMPTY>'
(行号“ 0”)读取配置数据。 The data field contains the error code.数据字段包含错误代码。
The issue is related to the temporary symbolic links created for the application pools by IIS/WAS being messed up during the Windows Update process for installing Fall Creators Update. 该问题与在安装Fall Creators Update的Windows Update过程中,IIS / WAS为IIS / WAS为应用程序池创建的临时符号链接有关。
I found the solution here: https://superuser.com/questions/1260805/iis-10-cannot-read-empty-configuration-file/1260834 ? 我在这里找到了解决方案: https : //superuser.com/questions/1260805/iis-10-cannot-read-empty-configuration-file/1260834吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.