In our Application_Start
event handler we're performing some actions that intermittently fail due to file locking issues. In this scenario we would like to return the application to an "un-started" state.
By this I mean that the user will be shown an error page, and then the next time a user hits the site the Application_Start
event will be fired again.
We're using ASP.NET 3.5, WebForms and MVC.