> Hi there,
> I have an intranet on our corporate network. The home page has a
[quoted text clipped - 9 lines]
> Ideally I would display a message saying the database server is
> unavailable.
Without seeing your code, all I can offer is this air code to illustrate
error-handling:
set cn=createobject("adodb.connection")
on error resume next 'turn on error handling
cn.open connectionstring
if err <> 0 then
response.write "could not connect to database"
response.end
end if
on error goto 0 'turn off error handling
It is best practice to leave error-handling off except for those statements
that "need" it so as not to mask any other errors that occur in your code.

Signature
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Dooza - 01 Jul 2009 12:29 GMT
>> Hi there,
>> I have an intranet on our corporate network. The home page has a
[quoted text clipped - 23 lines]
> It is best practice to leave error-handling off except for those statements
> that "need" it so as not to mask any other errors that occur in your code.
Hi Bob,
Thank you, this will do the job nicely.
Cheers,
Steve