ASPError object of ASP is related to the information storage about an error
condition of an ASP page or the information about an error that has occurred
during procession the script in an ASP. There is no ASPError Method for the
ASPError object of ASP. Only read-only properties are available for the
ASPError object of ASP. And the properties of
ASPError object of ASP is returned by the Server.GetLastError method.
Properties
Property
Description
ASPCode
A read only property to retrieve the error code generated by the web server.
ASPDescription
A read only property to retrieve a more detailed description of the error that
related to the ASP engine.
Category
A read only property to retrieve the category of the error source. A error can be
generated by the ASP engine of the web server, the scripting language, or the
object or component of ASP.
Column
A read only property to retrieve the column position of the ASP page that caused
the error.
Description
A read only property to retrieve a short description of the error.
File
A read only property to retrieve the name of the ASP file that generated the
error during script processing.
Line
A read only property to retrieve the line of the ASP page that caused the error.
Number
A read only property to retrieve the standard COM error code generated by the COM
component.
Source
A read only property to retrieve the actural source code, if available, of
the line that caused the error.
Remarks
When processing an ASP file with an error, the web server will first generate a
500;100 custom error. And by default, the 500;100 custom error will cause a
processing transfer to the default 500-100.asp file.
After the 500;100 custom error processing, an instance of ASPError object for an
ASP file is also created by the web server specially for an ASP file when
processing an ASP file with an error.
The ASPError object of an ASP file can also be used as the respond of an HTTP
error for creating suitable custom error mesages to the client.
There is no ASPError Method for the ASPError object of ASP. Only read-only
properties are available for the ASPError object of ASP. And the properties of
ASPError object of ASP is returned by the Server.GetLastError method.
The properties of ASP application object can be grouped into