admin
05-29-2003, 03:24 PM
<% On Error Resume Next %>
The above line turns on VBScript error trapping. In doing so, whenever a line of script produces an error the processing continues on to the next line of the script.
<%
If err.Number <> 0 Then
Response.Write "Number = " & err.Number & "<p>"
Response.Write "Description = " & err.Description & "<p>"
Response.Write "Source = " & err.Source
err.Clear
%>
The above prints the error information.
The above line turns on VBScript error trapping. In doing so, whenever a line of script produces an error the processing continues on to the next line of the script.
<%
If err.Number <> 0 Then
Response.Write "Number = " & err.Number & "<p>"
Response.Write "Description = " & err.Description & "<p>"
Response.Write "Source = " & err.Source
err.Clear
%>
The above prints the error information.