Visual Studio“无法在Web服务器上开始调试。网络服务器没有及时响应。“ [英] Visual Studio "Unable to start debugging on the web server. The web server did not respond in a timely manner."

查看:162
本文介绍了Visual Studio“无法在Web服务器上开始调试。网络服务器没有及时响应。“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



无法在Web服务器上启动调试,Web服务器做了没有及时响应,这可能是因为另一个调试器已经连接到Web服务器。



通常这是在已经调试了一次应用程序之后。从命令行,我运行iisreset / restart,并修复了问题。



首先如何防止这种情况发生? $ b

解决方案

我发现,如果我正在使用Firefox作为浏览器进行调试,则会发生这种情况。当我退出Firefox时,VS2005 / 8调试会话不会终止。我还没有找到一个解决方案(还)。



如果这是您正在发生的事情,那么比运行iisreset更快的解决方案是在Visual视图中按Shift-F5 Studio将会终止当前的调试会话。然后,您可以点击F5,这将启动一个新的调试会话。


I get the following error pretty regularly when compiling in Visual Studio and running my web application:

"Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server."

Normally this is after having debug the application once already. From the command line I run "iisreset /restart" and it fixes the problem.

How do I prevent this from happening in the first place?

解决方案

I find that this happens if I'm debugging with Firefox as my browser. When I exit Firefox the VS2005/8 debug session doesn't terminate. I have not found a solution for this (yet).

If this is what's happening with you then a quicker solution than running iisreset is to hit Shift-F5 when in Visual Studio and this will terminate the current debug session. You can then hit F5 and this will start a new debug session.

这篇关于Visual Studio“无法在Web服务器上开始调试。网络服务器没有及时响应。“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆