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

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

问题描述

我经常收到以下错误pretty在Visual Studio编译和运行我的Web应用程序时:

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

无法在Web服务器上启动调试。该网站的服务器没有及时做出反应。这可能是因为另一个调试器已经连接到Web服务器。

"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."

通常这是具有调试应用程序一旦已经了。从命令行我运行IISRESET /重新启动,它解决了这个问题。

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

我如何prevent从这个摆在首位发生?

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

推荐答案

我觉得,出现这种情况,如果我与调试Firefox作为浏览器。当我离开Firefox的VS2005 / 8调试会话不会终止。我还没有找到一个解决方案(还)。

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).

如果这是你怎么发生,那么比运行IISRESET更快的解决办法是按Shift-F5时,在Visual Studio中,这将终止当前调试会话。然后,您可以按F5键,这将启动一个新的调试会话。

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服务器上启动调试。 Web服务器没有及时响应和QUOT。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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