且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Web服务器无法找到请求的资源Visual Studio调试

更新时间:2023-08-21 09:49:16

步骤:


  1. 关闭Visual Studio中的所有解决方案

  2. 打开IIS7(运行> inetmgr)

  3. 单击您的***节点(计算机名称)

  4. 打开ISAPI和CGI限制选项

  5. 检查您的.Net版本是否具有正确的限制(例如,如果您使用4.0应该是允许)

  1. Close all solutions in Visual Studio
  2. open IIS7 (run > inetmgr)
  3. Click your top node (computer name)
  4. Open the "ISAPI and CGI Restrictions" option
  5. check if your .Net version has the correct restriction (for example, if you're working with 4.0 is should be on "Allowed")