Migrating asp.net website from IIS6 to IIS7 - Debugging differences

I recently migrated an application from IIS6 to IIS7. I've noticed two distinct differences and was wondering if someone could shed some light on them:

When I attach the debugger to the w3wp.exe process, it seems that the request times out much quicker than it did with XP. I set the executionTimeout attribute of the httpRuntime element in the web.config to be 864000 in hopes that it would execute for a very long time. This has not helped and I'm open to suggestions for how to allow for longer debugging sessions.

This question and answers originated from www.stackoverflow.com
Question by (10/23/2009 4:19:38 PM)

Answer

For #1, you need to turn off the "Ping Enabled" setting in the Advanced Properties for the application pool. Otherwise, if you sit on a breakpoint, the process can't respond to IIS's ping and it believes the process is hung and recycles the app pool. You probably want to turn off the idle timeout as well.

For #2, I'm not sure; even with Rick's answer it sounds like it should be working as you intend.

Answer by

Find More Answers
Related Topics  asp.net  web-development  iis7
Related Questions
  • 404 Error when moving ASP.NET MVC app from IIS6 to IIS7

    I just got a new development box and am having issues getting my MVC project up and running. My old box had Server 2003 and IIS6. I was able to get my MVC apps working on this box after setting up t…
  • Migrate ASP.Net web site from IIS6 to IIS7

    I have to migrate an ASP.Net web site from IIS6 to IIS7. I tried to copy the all files for a web site from IIS6 (c:\inetpub\wwwroot\MySite) to another box with Windows Server 2008 R2 where IIS7 is t…
  • Web Project MSI for iis6 and iis7

    I have the need to create a web setup project for some of our web applications. We have clients on both IIS6 and IIS7. I want to create an MSI, or some type of setup project that allows me to do the…
  • Registry access error when Migrating ASP.NET application to IIS7

    I'm running windows 7 64-bit and iis7. I'm trying to setup a web application that was previously in iis6 on XP. It's giving me the error below. I've added the network service user to the Performance…
  • migrating website from asp.net to asp.net mvc

    are there any high level best practices when doing this conversion?
  • Migrating from ASP.NET WebForms to ASP.NET MVC

    I'm developing a web application for a company which I work for. My team started working on the app few months ago and the decision was to build it with ASP.NET WebForms. Now we've quite a lot of th…
  • Asp.NET publishing problem

    My problems started after i finished my web application project. I want to upload my website to sub folder (http://site.com/project/). asp.net page.resolveUrl("~") is converted to / , not /proje…
  • ASP.NET IIS7 problem

    I'm trying to run an asp.net 3.5 web application in IIS 7. It gives the following error: Cannot read configuration file due to insufficient permissions If I run the application pool with a loc…
  • Definitive Guide to Handling 500 Errors in IIS6, IIS7, ASP.NET MVC3 with Custom Page

    I'm trying to add a 500 error handling page to my ASP.NET MVC3 project. I want my custom error page displayed regardless of local or remote access. My website is running on IIS6,IIS7 & IIS7.5…
  • IIS7 to IIS6 migration web.config problems

    I have a web application that I wrote in Visual Studio 2008 that targets .Net Framework 3.5. To test it I used a machine running Windows 7, which means IIS7. My application works just fine on this b…