G
Guest
Hi,
We have an ASP.NET web application that attempts to check some database
conditions in Application_start to ensure that all is well before the app
comes up. However, I figure out how to force the app to exit if this
verification fails. Just throwing an exception doesn't seem to do the trick.
The app still comes up.
I feel like I should be able to call Application.exit() inside of
Application_start, but of course there is no such thing here.
What is the best way to accomplish this?
thanks
Robb
We have an ASP.NET web application that attempts to check some database
conditions in Application_start to ensure that all is well before the app
comes up. However, I figure out how to force the app to exit if this
verification fails. Just throwing an exception doesn't seem to do the trick.
The app still comes up.
I feel like I should be able to call Application.exit() inside of
Application_start, but of course there is no such thing here.
What is the best way to accomplish this?
thanks
Robb