Visual Studio的"无法在Web服务器上启动调试。 Web服务器没有及时响应和QUOT。

编程入门 行业动态 更新时间:2024-10-22 09:49:10
本文介绍了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。

本文发布于:2023-11-10 22:28:59,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1576639.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:器上   服务器   Studio   Visual   Web

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!