visual-studio-2010 - Web 服务器找不到请求的资源 Visual Studio 调试

标签 visual-studio-2010 visual-studio visual-studio-2012 iis-7 visual-studio-debugging

问题

我有一个 .net 4.0 Web 应用程序在 Visual Studio 2012 中运行,每次我去调试站点时都会收到以下错误:

The Web Server Could Not Find the Requested Resource



我试过的

我关注了微软的网站并提供了解决方案:msdn

  1. From a command prompt window, run the following command: systemroot\Microsoft.NET\Framework\ versionNumber \aspnet_regiis -i
  2. I've also attempted to remove the .csproj.user files
  3. Since we use Source Control i've deleted all items, the site and apppool and reconfigured from scratch.
  4. AppPool is set to allow 32-bit applications


一切都无济于事......任何人都有可能为我解决这个视觉工作室调试噩梦的解决方案吗?

最佳答案

脚步:

  • 关闭 Visual Studio 中的所有解决方案
  • 打开 IIS7(运行 > inetmgr)
  • 单击您的顶级节点(计算机名称)
  • 打开“ISAPI 和 CGI​​ 限制”选项
  • 检查您的 .Net 版本是否有正确的限制(例如,如果您使用的是 4.0,则应该是“允许”)
  • 关于visual-studio-2010 - Web 服务器找不到请求的资源 Visual Studio 调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14711807/

    相关文章:

    c# - 由于缺少依赖项,MSBuild 清理操作失败

    javascript - 在 Visual Studio 2010 中调试 Javascript 代码

    visual-studio - "There appears to be a discrepancy between the solution' s 源代码控制 ...."

    visual-studio-2012 - CleanWPPAllFilesInSingleFolder 错误使我的项目不再加载

    c++ - 缺少 libnoise.dll 会阻止程序运行

    visual-studio - 如何更改调试器设置以从 VS 2015 测试资源管理器调试单个单元测试

    c++ - 是否有与 Visual Studio 的 __declspec(novtable) 等效的 g++?

    c++ - Visual Studio 2012 错误 : The application was unable to start correctly (0xc0000007b)

    visual-studio-2012 - WinJS System.Launcher 仅在 Debug模式下工作

    asp.net - VS2010 程序集加载错误