ASPError Object
You can use the ASPError object to obtain information about an error condition that has occurred in an ASP script. The ASPError object is returned by the Server.GetLastError method. The ASPError object exposes read-only properties.
Syntax
ASPError.property
Properties
ASPCode Returns an error code generated by IIS.
Number Returns the standard COM error code.
Source Returns the actual source code, when available, of the line that caused the error.
Category Indicates if the source of the error was internal to ASP, the scripting language, or an object.
File Indicates the name of the .asp file that was being processed when the error occurred.
Line Indicates the line within the .asp file that generated the error.
Column Indicates the column position within the .asp file that generated the error.
Description Returns a short description of the error.
ASPDescription Returns a more detailed description of the error if it is an ASP-related error.