I would like to perform some environment validation and pipeline
configuration during Application_Start - and if those efforts, themselves,
fail or have some runtime exception, then I want for the application to not
start (i.e., the Web site should not be available unless all of the startup
tasks complete without errors).
How can I accomplish this?
Thanks!
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
or just read it:
http://gregorybeamer.spaces.live.com/
*************************************************
| Think outside the box!
|
*************************************************
"Cramer" <A...@B.com> wrote in message
news:%23C3fiDx...@TK2MSFTNGP03.phx.gbl...
Apparently I could - upon detecting that the runtime conditions necessitate
making the entire system unavailable, programmatically copy app_offline.htm
to the root folder. While this would apparently make ASP.NET completely
unavailable - which is the intended goal - it would also/therefore mean that
I could not use ASP.NET to remove app_offline.htm from the root folder of
the site. So this technique, while quite effective and simplistic (which is
good!) would also mean that it should be reserved for the most serious of
error conditions that would necessitate a system administrator to be
manually fixing stuff on the Web server... and the last thing the system
administrator would do is manually remove app_offline.htm to make the entire
site once again available.
-Cramer
"Cowboy (Gregory A. Beamer)" <NoSpamM...@comcast.netNoSpamM> wrote in
message news:uvJ9rn6...@TK2MSFTNGP02.phx.gbl...