Home page
 
 Home 
 ASP 
 PHP 
 SQL 
 HTML 
 JavaScript 
 Search 
 Contact 
 
Search
or browse popular tags
ASP Tutorial
Subscription

Sign up for the free email newsletter for new tips, tutorials and more. Enter your email address below, and then click the button.

Privacy Policy

RSS Twitter

ASP ASPError Object

Print

The ASPError object is a new in ASP 3.0, and is available in IIS5 and later. It provides a range of detailed information about the last error that occurred in script in an ASP page. The ASPError object is only available through the GetLastError method of the Server object. The syntax and properties of the ASPError object are as follows:

Syntax

ASPError.property

Properties

Properties Description
ASPCode The ASPCode property returns an error code generated by IIS.
Number The Number property returns the standard COM error code.
Line The Line property indicates the number of the line within the .asp file that generated the error.
Category The Category property indicates the source of the error. E.g. ASP itself, the scripting language, or an object.
Column The Column property indicates the column position within the .asp file that generated the error.
File The File property returns the name of the .asp file that was being processed when the error occurred.
Source The Source property returns the actual source code, if available, of the line where the error occurred.
Desciption The Description property returns a short description of the error.
ASPDescription The ASPDescription property returns a detailed description of the error if it is ASP-related.




Tags:

Add To: Add to dzone dzone | Digg this digg | Add to del.icio.us del.icio.us | Stumble it stumbleupon

  • Comments





Copyright © 2005-2014             www.WebCheatSheet.com All Rights Reserved.