【问题标题】:Unable to start debugging Visual Studio 2005无法开始调试 Visual Studio 2005
【发布时间】:2012-11-09 16:56:57
【问题描述】:

这真的很奇怪,我无法在一个项目上开始调试,但对另一个项目没有问题。我坚持的那个给了我以下错误消息:

无法在 Web 服务器上开始调试。无法连接到 网络服务器。验证 Web 服务器是否正在运行以及传入的 HTTP 请求不会被防火墙阻止。

我尝试了以下方法,但没有成功:

  1. 重置 IIS
  2. 通过运行aspnet_regiis -i 重新注册 ASP.NET
  3. 重新启动并清除该项目的所有临时文件
  4. 检查的 IIS 虚拟文件夹是否正确
  5. 已确认的安全设置为 Windows 集成
  6. 确认 web.config 有 debugging= true

我还可以采取哪些其他步骤?

【问题讨论】:

  • 你检查framework version of the app pool了吗? 在项目属性中;你有没有set the debuger to asp.net,检查过Use custom web server 并给出了correct web server uri which matches iis binding
  • 感谢您的回复。它在 IIS 5.1 中运行,在我的情况下没有应用程序池。有趣的是它之前运行良好

标签: asp.net visual-studio debugging


【解决方案1】:

重启解决了这个问题。谢谢。

【讨论】:

  • 你应该接受你自己的答案,而不是让问题保持多年。
猜你喜欢
  • 2015-09-12
  • 2017-06-08
  • 1970-01-01
  • 2012-12-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多