次の方法で共有


ASPError.Number

The Number property returns a long integer that contains the error code returned by a COM component. This is a standard COM error code.

When decyphering a COM error code, convert the number to hexidecimal, examine the last 8 digits, and use the instructions at Structure of COM Error Codes to understand what the error is. For example, the error -2146828277 converts to FFFFFFFF800A000B in hexidecimal. The 8 represents ?FACULTY_WINDOWS: Used for additional error codes from Microsoft-defined interfaces?, the A represents Visual Basic, and the B represents decimal 11 which is the Visual Basic error code for a "divide by zero" error. For a list of COM error codes, see System Error Codes.

Syntax

ASPError.Number()

Applies To

ASPError Object

Requirements

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

See Also

Concepts

Creating Custom Error Messages

Other Resources

Structure of COM Error Codes

System Error Codes