gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 02:32:58 25 4
gpt4 key购买 nike

问题

我有一个 .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/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com