applicationPoolDefaults Element for applicationPools [IIS Settings Schema]
Note
For more information about the applicationPoolDefaults element, see the following topic on the Microsoft IIS.net Web site: Application Pool Defaults <applicationPoolDefaults>.
Configures default values for all application pools on a Web server. Individual application pool settings can override these defaults.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||
---|---|---|---|---|---|---|---|
autoStart |
Optional Boolean attribute. When true, indicates to the World Wide Web Publishing Service (W3SVC) that the application pool should be automatically started when it is created or when IIS is started. The default value is true. |
||||||
CLRConfigFile |
Optional string value.Specifies the .NET configuration file for the application pool.Note: This attribute was added in IIS 7.5.There is no default value. |
||||||
enable32BitAppOnWin64 |
Optional Boolean attribute. When true, enables a 32-bit application to run on a computer that runs a 64-bit version of Windows. The default value is false. |
||||||
enableEmulationOnWinArm64 |
Optional Boolean attribute. When true, enables an ARM64EC ("Emulation Compatible") application to run on a computer running Windows on ARM64. The default value is true. Note: Emulation mode (enableEmulationOnWinArm64=true) is currently the only option supported on ARM64 machines running Windows 11 starting with KB5014697. This property is currently not available on Windows Server. |
||||||
managedPipelineMode |
Optional enum attribute. Specifies the request-processing mode that is used to process requests for managed content. The managedPipelineMode attribute can be one of the following possible values. The default is Integrated.
|
||||||
ManagedRuntimeLoader |
Optional string attribute.Specifies the managed loader to use for pre-loading the the application pool.Note: This attribute was added in IIS 7.5.The default value is webengine4.dll. |
||||||
managedRuntimeVersion |
Optional string attribute. Specifies the .NET Framework version that is used by the application pool. The managedRuntimeVersion attribute can be one of the following values. The default is v2.0.
|
||||||
name |
Required string attribute. Specifies the default name for application pools on the server. |
||||||
queueLength |
Optional uint attribute. Indicates to HTTP.sys how many requests to queue for an application pool before rejecting future requests. The default value is 1000. When the value set for this property is exceeded, IIS rejects subsequent requests with a 503 error. If the loadBalancerCapabilities setting is true, the connection is closed instead of rejecting requests with a 503. |
||||||
startMode |
Optional enum value.Specifies the startup type for the application pool.Note: This attribute was added in IIS 7.5.The startMode attribute can be one of the following possible values; the default value is OnDemand.
|
Child Elements
Element |
Description |
---|---|
cpu |
Configures CPU affinity and CPU actions. |
failure |
Configures actions to take when an application pool fails. |
processModel |
Configures process management attributes for an application pool. |
recycling |
Configures application pool recycling. |
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.applicationHost |
Specifies the root element for configuring Web process settings. |
applicationPools |
Specifies configuration settings for all application pools. |
Remarks
For more information about the applicationPoolDefaults element, see the following topic on the Microsoft IIS.net Web site: Application Pool Defaults <applicationPoolDefaults>.
Element Information
Configuration locations |
ApplicationHost.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |
See Also
Reference
cpu Element for applicationPoolDefaults for applicationPools [IIS Settings Schema]
failure Element for applicationPoolDefaults for applicationPools [IIS Settings Schema]
processModel Element for applicationPoolDefaults for applicationPools [IIS Settings Schema]
recycling Element for applicationPoolDefaults for applicationPools [IIS Settings Schema]