colinramsay.co.uk

aspnet_wp.exe stopped unexpectedly and Server Application Unavailable

11 Aug 2006

In ASP.NET your app may suddenly start giving Server Application Unavailable errors and the event log will show messages such as "aspnet_wp.exe stopped unexpectedly". If this happens you may not even be able to break into your code and debug it, but it will often turn out that you have created some kind of unending loop in there:

public void DoSomething()
{
   // code
   DoSomething()
}

Yes, it's a silly mistake but such an oversight can be made, and the error messages don't really help. Hopefully this will save someone from tearing their hair out.