Collapse AllExpand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JScript
modules Element for system.webServer [IIS Settings Schema]
Note: |
|---|
For more information about the modules element, see the following topic on the Microsoft IIS.net Web site: Modules <modules>. |
Specifies configuration settings for modules on a Web server.

Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
None.
Child Elements
Element | Description |
|---|
add | Optional element. Adds a module to the collection of modules. |
clear | Optional element. Removes all references to modules from the modules collection. |
remove | Optional element. Removes a reference to a module from the modules collection. |
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. |

Remarks
For more information about the modules element, see the following topic on the Microsoft IIS.net Web site: Modules <modules>.

Element Information
Configuration locations | Machine.config ApplicationHost.config Root application Web.config Application Web.config |
Requirements | Microsoft Internet Information Services (IIS) version 7.0 |

See Also