[This is preliminary documentation and subject to change]

HttpErrors

This metabase property specifies the custom error string to be sent to clients in response to HTTP 1.1 errors. Each string in the list specifies the HTTP error code and subcode, indicates whether the handler will be a URL or a file, and specifies which URL or file the client will be sent. Each string can be in either format: a URL or a file.

To send a URL to the client, use HTTPErrorCode, HTTPErrorSubcode, URL, HandlerURL. To send a file, use HTTPErrorCode, HTTPErrorSubcode, FILE, Filename.

Attribute NameAttribute Value
Data TypeMULTISZ
AttributesINHERIT
Default Valuenull
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeIIS_MD_UT_FILE
StartingNumber
EndingNumber
ID6008

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/W3SVC/2IIsWebServer
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService
/LM/W3SVC/1/ROOTIIsWebVirtualDir
/LM/W3SVC/1/ROOT/_vti_binIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdminIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelpIIsWebVirtualDir
/LM/W3SVC/1/ROOT/MSADCIIsWebVirtualDir
/LM/W3SVC/1/ROOT/ScriptsIIsWebVirtualDir
/LM/W3SVC/2/ROOTIIsWebVirtualDir
/LM/W3SVC/2/ROOT/IISAdminIIsWebVirtualDir

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier
MD_CUSTOM_ERROR
Data typeMULTISZ
User typeIIS_MD_UT_FILE

Related Topics

CustomErrorDescriptions

© 1997-2001 Microsoft Corporation. All rights reserved.