更新时间:2022-06-05 07:15:30
我最近也遇到了这种情况-确保您的 IIS网站已启动-我的已经停止了.这是我在Visual Studio中收到的错误:
This recently occurred to me also - make sure your IIS Website is started - mine had been stopped. This is the error I was receiving in Visual Studio:
无法在Web服务器上开始调试. Web服务器找不到请求的资源.
Unable to start debugging on the web server. The web server could not find the requested resource.
在 IIS管理器中右键单击您的网站(即默认网站),然后单击管理网站->开始.
Right Click on your Website (i.e. Default Website) in IIS Manager and click Manage Web Site --> Start.
导航到IIS网站中的任何应用程序都显示此错误:
Navigating to any applications in the IIS Website was showing this error:
HTTP错误404.找不到请求的资源.
HTTP Error 404. The requested resource is not found.