ASP ASPError objekt
- Föregående sida ASP Server
- Nästa sida ASP FileSystem
The ASPError object is used to display detailed information about any errors that occur in the script of an ASP file.
ASP ASPError objekt
ASP 3.0 provides this object and it is available in IIS5 and higher versions.
The ASPError object is used to display detailed information about any errors that occur in the script of an ASP file. When Server.GetLastError is called, the ASPError object is created, so error information can only be accessed by using the Server.GetLastError method.
The properties of the ASPError object are described as follows (all properties are readable):
Note:The following properties can only Server.GetLastError() Method to access.
Property
Property | Description |
---|---|
ASPCode | Return the error code generated by IIS. |
ASPDescription | Return detailed information about the error. (If the error is related to ASP.) |
Category | Return the source of the error. (Is it caused by ASP, script language, or an object?) |
Column | Return the column position in the error file. |
Description | Return a brief description of the error. |
Fil | Återge filnamnet på den ASP-fil där felet uppstod. |
Rad | Återge radnumret där felet uppstod. |
Nummer | Återge den standard COM felkoden för felet. |
Källa | Återge den faktiska källkoden för raden där felet uppstod |
- Föregående sida ASP Server
- Nästa sida ASP FileSystem