How do I crash the App Pool?

Posted by willem on Stack Overflow See other posts from Stack Overflow or by willem
Published on 2010-06-15T11:40:58Z Indexed on 2010/06/15 13:42 UTC
Read the original article Hit count: 228

Filed under:
|

Our ASP.NET 2 web application handles exceptions very elegantly. We catch exceptions in Global ASAX in Application_Error. From there we log the exception and we show a friendly message to the user.

However, this morning we deployed the latest version of our site. It ran ok for half an hour, but then the App Pool crashed. The site did not come back up until we restored the previous release.

How can I make the app pool crash and skip the normal exception handler? I'm trying to replicate this problem, but with no luck so far.


Update: we found the solution. One of our pages was screenscraping another page. But the URL was configured incorrectly and the page ended up screenscraping itself infinitely, thus causing a stack overflow exception.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about app-pool