views:

119

answers:

2

I'm running Visual Studio 2008 Professional SP1 on Windows 7 Ultimate x64 RTM. I'm using the ASP.NET MVC that you get from the Web Platform Installer.

When I step through my program and pause on any line for longer than a few seconds the debugger suddenly stops and the following message is printed in the Debug Output:

The program '[4232] WebDev.WebServer.EXE: Managed' has exited with code 0 (0x0).

It does not happen 100% of the time, but it's often enough to be extremely frustrating. This behavior happened in the W7 RC releases as well but never under Windows XP Pro x86.

A: 

Hard to say what's going on, but if this were happening to me the first thing I would do is click on Debug-> Exceptions, and go make sure all the possible culprits are checked off under Managed Debug Assistants and Common Language Runtime Exceptions.

Matt
A: 

IIS has a ping timeout to the process that host your site. I think the default is 90 seconds.

While in IIS, right click on the application pool that is running your application and select "Advanced Settings...". Scroll down to "Ping Maximum Response Time" and change it to a greater value. On my development machine, I use 600 which is 10 minutes.

Pierre-Alain Vigeant
I'm using the ASP.NET Development Server included with VS, not IIS. Does your comment still apply?
Hellfire
mmm I don't think it apply in this case.
Pierre-Alain Vigeant