[This is preliminary documentation and subject to change]
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 Name | Attribute Value |
| Data Type | MULTISZ |
| Attributes | INHERIT |
| Default Value | null |
| MetaFlagsEx | CACHE_PROPERTY_MODIFIED |
| User Type | IIS_MD_UT_FILE |
| StartingNumber | |
| EndingNumber | |
| ID | 6008 |
This property is accessible at the following locations:
| Metabase Path | IIS Admin Object Type |
| /LM/W3SVC/2 | IIsWebServer |
| /LM/W3SVC/Info/Templates/Public Web Site | IIsWebServer |
| /LM/W3SVC/Info/Templates/Secure Web Site | IIsWebServer |
| /LM/W3SVC | IIsWebService |
| /LM/W3SVC/1/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/_vti_bin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISAdmin | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/IISHelp | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/MSADC | IIsWebVirtualDir |
| /LM/W3SVC/1/ROOT/Scripts | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT | IIsWebVirtualDir |
| /LM/W3SVC/2/ROOT/IISAdmin | IIsWebVirtualDir |
The following table lists additional information required only for code that uses the IIS Admin Base Object.
| Metabase identifier | MD_CUSTOM_ERROR |
| Data type | MULTISZ |
| User type | IIS_MD_UT_FILE |
Related Topics
| CustomErrorDescriptions |