无法在 Web 服务器上启动调试。远程服务器返回错误:(503) 服务器不可用

问题描述 投票:0回答:1

当我尝试在 Amazon Workspace 上的 VS2015 上调试解决方案时,出现此错误。 我在 Windows 10 和 .NET 4.6.2 上使用 IIS 10.0.19041.1

在 IIS 中的应用程序池下,我使用 DefaultAppPool enter image description here

但是,我收到此错误:

enter image description here

我注意到 DefaultAppPool 隐式停止了。我再次启动它,但是即使状态为“已启动”,它仍然失败。 我不确定它是否正在运行,这可以解释该错误。 当 Windows Fall Center (?) 更新并将其弄乱时,我尝试过其他解决方案。 建议的修复方法是在 powershell 上的 admin 下运行脚本 here

我该如何解决这个问题?

visual-studio-2015 iis-10
1个回答
0
投票

以管理员身份打开CMD并运行

iisreset

© www.soinside.com 2019 - 2024. All rights reserved.