MS annouanced there's no 'On error goto' in VBScript.
sorry for that.
You have to try to classify your Errors..
if error in DB connection, you can capture them
by ADO error
if ASP compilation error
if....
then redirect them to Error Handler.
-----Original Message-----
From: rg1@h... [mailto:rg1@h...]
Sent: Tuesday, April 24, 2001 3:34 AM
To: ASP Web HowTo
Subject: [asp_web_howto] On Error
Hello.
In VBScript, I know there's an "On Error Resume Next". I need an "On Error
GoTo ErrorHandler". When I use "On Error GoTo ErrorHandler" I get a
compilation syntax error. Is there any way in VBScript that I can bypass
the rest of the code after encountering an error, and go directly to the
error handling routine?
TIA
Rita