ASP.NET 2.0 unhandled exceptions tear down IIS worker process

According to Jeff Stuckey, Systems Engineer Manager for Microsoft, unhandled exceptions cause the whole IIS worker process to be torn down. This has serious implications, as if you’re running a whole lot of sites on IIS, you don’t just lose the App Pool for the one that causes the error, you lose the whole lot!

Don’t believe me? Check out the WebCast called “Debugging CLR Internals” on iis.net: http://www.iis.net/default.aspx?tabid=2&subtabid=26&i=1059 at about the 36:06 mark. The workaround is to implement legacy exception handling at http://msdn2.microsoft.com/en-us/library/ms228965.aspx

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: