Share via


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.

ValueDescription
ClassicSpecifies that the application pool use separate IIS and ASP.NET request-processing pipelines, which works with ASP.NET 1.1 applications, and ASP.NET 2.0 applications that do not work in Integrated mode. The numeric value is 1.
IntegratedSpecifies that the application pool use the integrated IIS and ASP.NET request-processing pipeline, which works with only ASP.NET 2.0 applications. The numeric value is 0.

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.

ValueDescription
v1.1Specifies that the application pool uses .NET Framework version 1.1.
v2.0Specifies that the application pool uses .NET Framework version 2.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.

ValueDescription
AlwaysRunningSpecifies that the Windows Process Activation Service (WAS) will always start the application pool. This behavior allows an application to load the operating environment before any serving any HTTP requests, which reduces the start-up processing for initial HTTP requests for the application.The numeric value is 1.
OnDemandSpecifies that the Windows Process Activation Service (WAS) will start the application pool when an HTTP request is made for an application that is hosted in the application pool. This behavior resembles the WAS behavior in previous versions of IIS.The numeric value is 0.

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]

add Element for applicationPools [IIS Settings Schema]