IASPError C++ Interface

IIS 6.0

The IASPError exposes read-only properties describing the last error event. A pointer to IASPError is returned by the IServer::GetLastError method. IASPError exposes the following methods:

The IASPError interface inherits the methods of the standard COM interface IUnknown.

The IASPError interface defines the following methods.

Method

Description

get_ASPCode

Returns an error code generated by IIS. It does not apply to scripting errors, only to errors generated by COM components.

get_Number

Returns the standard COM error code.

get_Source

Indicates if the source of the error was internal to ASP, the scripting language, or an object.

get_FileName

Indicates the name of the .asp file that was being processed when the error occurred.

get_LineNumber

Indicates the line within the .asp file where the error was generated.

get_Description

Returns a short description of the error.

get_ASPDescription

Returns a more detailed description of the error if it is an ASP related error.

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Show: