The ASPError object is used to obtain detailed information on an error condition. This information, provided by the nine read-only properties of ASPError, can only be accessed by using the Server.GetLastError method.
When IIS encounters an error while processing a .asp file, it will generate a 500;100 custom error. After a 500;100 custom error has been generated, IIS will also create an instance of the ASPError object which describes the error condition.
Returns the error code generated by IIS.
Returns a string that provides a more detailed description of the error as compared to the short description returned by the Description property. The ASPDescription property is not available for all errors.
Returns a string indicating if the error was generated by IIS, an object, or a scripting language.
Returns a long integer defining the column position inside the ASP file where the error occured.
Returns a string that is a short description of the error. ASPDescription returns a longer, more detailed description.
Returns the name of the ASP file in which the error occured.
Returns a long integer defining the line number inside the ASP in which the error occured.
Returns a long integer defining the standard COM error code returned by a COM component.
Returns a string with the actual line from the source code where the error code occured (if available).
Back to ASP Objects
(v 3.0) indicates that this feature is only available with ASP Version 3.0, which shipped standard with IIS 5.0