This is my situation.
I do not have access to the 500-100 pages (Please don'y ask, it is beyond me)
I have been reading: http://www.powerasp.com/content/new/on-error-resume-next.asp
But this is opening the database and presenting an error and doing something.
I need to do it before this.
My issue is this:
I want to trap when the SQL Server goes down (Due to Reboot or Environmental OFF-LINE)
Instead of showing this error: (Or any error that deals with SQL Server itself not being there)
SQL Server does not exist or access denied.
And show the visitor something like:
if err then
Sorry, there seems to be a problem, please wait while we refresh the page in 5 seconds.
load the database.
How can this be accomplished?
Also, can I use the <%on error resume next%> to NOT display any asp errors to the page?
Is there a way to do it? Since I cannot do no 500-100 page which really sucks.
I need to find a way NOT to let the user see anything like this.
(Yes I know, this is a pain, and hopefully by Christmas 2011, I will be hosting in-house with my company, but right now, this is as good as it gets for me...)