ASP ASPError Object

The ASPError object displays information about errors in scripts.

The ASPError Object

The ASPError object was executed in ASP 3.0 and is accessible in IIS5 and later.

The ASPError object is utilized to show itemized data of any mistake that happens in contents in an ASP page.

Note: The ASPError object is made when Server.GetLastError is called, so the mistake data must be gotten to by utilizing the Server.GetLastError method.

The ASPError article's properties are depicted beneath (all properties are perused only):


Property Description
ASPCode Returns a mistake code produced by IIS
ASPDescription Returns a point by point depiction of the mistake (if the blunder is ASP-related)
Category Returns the wellspring of the mistake (was the blunder created by ASP? By a scripting language? By an object?)
Column Returns the segment position inside the document that created the error
Description Returns a short depiction of the error
File Returns the name of the ASP record that created the error
Line Returns the line number where the blunder was detected
Number Returns the standard COM blunder code for the error
Source Returns the real source code of the line where the mistake occurred