|
ASP ASPError Object
The ASPError object displays information about errors in scripts.
The ASPError Object
The ASPError object was implemented in ASP 3.0 and is available in IIS5 and later.
The ASPError object is used to display detailed information of any error that occurs
in scripts in an ASP page.
Note: The ASPError object is created when Server.GetLastError is
called, so the error information can only be accessed by using the Server.GetLastError method.
The ASPError object's properties are described below (all properties are read-only):
Properties
| Property |
Description |
| ASPCode |
Returns an error code generated by IIS |
| ASPDescription |
Returns a detailed description of the error (if the error is ASP-related) |
| Category |
Returns the source of the error (was the error generated by ASP? By a scripting language? By an object?) |
| Column |
Returns the column position within the file that generated the error |
| Description |
Returns a short description of the error |
| File |
Returns the name of the ASP file that generated the error |
| Line |
Returns the line number where the error was detected |
| Number |
Returns the standard COM error code for the error |
| Source |
Returns the actual source code of the line where the error occurred |

Need an easy way to get data into XML, or transform XML to another format?
MapForce lets you map XML data to/from any combination of XML, database, flat file, Excel 2007, XBRL, or Web services data.
Then it transforms data instantly or auto-generates royalty-free data integration code for recurrent conversions.
Download a free, fully functional 30-day trial to experience the following features:
- Easy-to-use, graphical data mapping interface
- Instant data transformation
- XSLT 1.0/2.0 and XQuery code generation
- Java, C#, and C++ code generation
- Advanced data processing functions
- Support for all major relational databases including SQL Server, IBM DB2, Oracle, and more
- Visual Studio & Eclipse integration
Download a fully-functional trial today!
|
|
|
|