VS.NET 2005 Debugger Timeout with IIS 7.0

本文介绍了解决在Windows Vista使用IIS7部署站点时出现的调试超时问题的方法。通过调整应用程序池的Ping设置或延长Ping最大响应时间来避免调试过程中不必要的中断。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

windows vista iis7部署站点,进行调试的时候,经常会出现 debugger time-out, 这个是由于应用程序池配置的问题。

 

1.     打开应用程序池—高级配置:

  pool

2.     启用Ping 设置为false.这样就可以保证进程一直处于调试状态。

 ping

3.     Ping默认的最大响应时间是90s,你也可以设置的更长一些。

 

原文:

ASP.NET Debugger Timeout In Windows Vista
When I first installed Windows Vista with IIS 7 I have started to notice that ASP.NET debugger tends to time-out very often. Previously I hadn't noticed such a behavior when I was using Windows 2003 with IIS 6. I really cannot tell if it was there or not, because I sometimes tend to dismiss this kind of issues if they are not very painful.

Sometimes however the debugger timeout IS painful. Fortunately the problem is easily solved. I have found the solution provided by jshallard on ASP.NET's forum:

In IIS 7 go to the Application Pools and select the Advanced Settings for the pool which you process runs in. In the Process Model section you can do one of two things;
    * Set the Ping Enabled property to False. This will stop IIS checking to see if the worker process is still running and keep your process alive permanently (or until you stop your debugged process)
    * If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).

I've tried the second option and it worked.

地址:

http://vaultofthoughts.net/ASPNETDebuggerTimeoutInWindowsVista.aspx

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值