remove Element for httpErrors [IIS Settings Schema]
Note
For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: HTTP Errors <httpErrors>.
Removes a reference to an HTTP error from the HTTP error collection.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
---|---|
statusCode |
Required integer attribute. Specifies the number of the HTTP status code for which you want to create a custom error message. |
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the top-level section group (in ApplicationHost.config) in which this element is defined. |
httpErrors |
Configures HTTP error messages for a Web server. |
Remarks
For more information about the remove element, see the following topic on the Microsoft IIS.net Web site: HTTP Errors <httpErrors>.
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root application Web.config Application Web.config Directory Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
clear Element for httpErrors [IIS Settings Schema]
Other Resources
IIS 7.0: error Element for httpErrors (IIS Settings Schema)