This was happening in IIS 6 with .Net 4. Are you experiencing similar issue? The reason IIS keep crashing caused by unhandled exception is because the default policy for an unhandled exception has changed in the .Net framework 2.0 and later version. The behavior of this policy is to end the worker process.

Possible fixes

To fix this permanently, a developer must handle all exceptions in the application. As a workaround, you can change unhandled exception policy back to legacy (.Net framework 1.x)   

Login into problematic IIS server Find which version of .Net you are using Go to below folder

Take a backup of Aspnet.config file Modify or add if doesn’t exist following

Restart IIS Application pool

You will notice, IIS will prevent crashing, and you are back in business. If you want to be master in IIS administration, then check out this course by Hassan Aboul Hassan.

IIS Crashing unexpectedly in the  Net Framework - 97IIS Crashing unexpectedly in the  Net Framework - 28IIS Crashing unexpectedly in the  Net Framework - 74IIS Crashing unexpectedly in the  Net Framework - 35IIS Crashing unexpectedly in the  Net Framework - 32IIS Crashing unexpectedly in the  Net Framework - 43IIS Crashing unexpectedly in the  Net Framework - 63IIS Crashing unexpectedly in the  Net Framework - 77IIS Crashing unexpectedly in the  Net Framework - 75IIS Crashing unexpectedly in the  Net Framework - 7IIS Crashing unexpectedly in the  Net Framework - 35IIS Crashing unexpectedly in the  Net Framework - 29IIS Crashing unexpectedly in the  Net Framework - 78IIS Crashing unexpectedly in the  Net Framework - 29IIS Crashing unexpectedly in the  Net Framework - 27IIS Crashing unexpectedly in the  Net Framework - 16IIS Crashing unexpectedly in the  Net Framework - 13IIS Crashing unexpectedly in the  Net Framework - 24IIS Crashing unexpectedly in the  Net Framework - 27IIS Crashing unexpectedly in the  Net Framework - 14IIS Crashing unexpectedly in the  Net Framework - 8IIS Crashing unexpectedly in the  Net Framework - 32IIS Crashing unexpectedly in the  Net Framework - 41