add Element for globalModules [IIS Settings Schema]

Note

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

Specifies a global module to be added to the Web server.

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements for this section.

Attributes

Attribute

Description

image

Required string attribute.

Specifies the physical path of the .dll file for the global module. The attribute value will be expanded when environment variables, such as %windir%, are used.

name

Required string attribute.

Specifies the name of the global module.

preCondition

Optional string attribute.

Specifies conditions under which the global module will run.

The preCondition attribute can be one or more of the following possible values. If you specify more than one value, separate the values with a comma (,).

ValueDescription
bitness32Specify the bitness32 value when the global module is a 32-bit .dll file, and IIS should load the global module only for worker processes that run in WOW64 mode (32-bit simulation) on a 64-bit operating system.
bitness64Specify the bitness64 value when the global module is a 64-bit .dll file, and IIS should load the global module only for worker processes that run in 64-bit mode.
integratedModeSpecify the integratedMode value when the global module should use the integrated request-processing pipeline to process requests for managed content.
ISAPIModeSpecify the ISAPIMode value when the global module should use the ASP.NET ISAPI extension, aspnet_isapi.dll, to process requests for managed content.
runtimeVersionv1.1Specify the runtimeVersionv1.1 value when the global module should load only for application pools that are configured to use .NET Framework version 1.1.
runtimeVersionv2.0Specify the runtimeVersionv2.0 value when the global module should load only for application pools that are configured to use .NET Framework version 2.0.

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 root element in ApplicationHost.config that is the top-level section group in which this element is defined.

globalModules

Specifies configuration settings for global modules on a Web server.

Remarks

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

Element Information

Configuration locations

ApplicationHost.config

Requirements

Microsoft Internet Information Services (IIS) version 7.0