If you cannot change the parameters of the IIS error, just let the asp page print the error.
At the top of the file, set On Error Resume Next to allow the asp script to continue execution, despite any errors.
Then in possible places where you suspect a mistake, or simply at the bottom of the page; put this code.
IF Err.Number <> 0 THEN Response.Write "=========================================" & "<br />" Response.Write "Error description: " & Err.Description & "<br />" Response.Write "Source: " & Err.Source & "<br />" Response.Write "LineNumber: " & Err.Line & "<br />" Response.Write "=========================================" & "<br />" END IF
David
source share