Wednesday, December 05, 2007

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.

Wednesday, December 05, 2007 7:06:45 PM (Central European Standard Time, UTC+01:00)  #    Disclaimer  |  Comments [4]  | 
Monday, January 07, 2008 7:37:50 PM (Central European Standard Time, UTC+01:00)
Thanks! If you spend any substantial amount of time in debug (which you probably should), this fix is a must!
Josh
Tuesday, January 29, 2008 8:55:08 AM (Central European Standard Time, UTC+01:00)
Do you want to Learn Sharepoint ???

Learn Share Point freely

http://hotsoftwareslist.blogspot.com/2007/10/learn-sharepoint-freely.html
smartcoder
Tuesday, January 29, 2008 8:55:46 AM (Central European Standard Time, UTC+01:00)
Download EBooks Freely in .pdf,.chm formats and ready for interview questions....

http://hotsoftwareslist.blogspot.com/2007/08/download-ebook.html
smartcoder
Tuesday, January 29, 2008 8:56:21 AM (Central European Standard Time, UTC+01:00)
Download EBooks Freely in .pdf,.chm formats and ready for interview questions....

http://hotsoftwareslist.blogspot.com/2007/08/download-ebook.html
smartcoder
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, strike) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview