Web Deploy appPoolEnable32Bit Provider

Applies To: Windows 7, Windows Server 2008, Windows Server 2008 R2

appPoolEnable32Bit

The appPoolEnable32Bit provider displays or sets the value of the enable32BitAppOnWin64 application pool attribute, which indicates whether 32-bit applications are enabled to run on a 64-bit application pool.

Important

The enable32BitAppOnWin64 attribute does not apply to IIS 6.0 or earlier versions of IIS.

Example

msdeploy.exe -verb:dump -source:appPoolEnable32Bit="Default Web Site" -xml

The appPoolEnable32Bit provider takes an argument that is the path of a Web site or Web application.

Note

The appPoolEnable32Bit provider applies only to Web Deploy 2.0 and later versions.

In a dump operation, if you use the -xml operation setting, the value of the enable32BitAppOnWin64 application pool attribute for the specified Web site or Web application is displayed in XML format.

In a sync operation, when you specify source and destination Web site or Web application paths as arguments to the provider, the enable32BitAppOnWin64 application pool attribute on the destination is set to the application pool value of the source. If you specify a Web site or Web application path for the destination argument but not for the source argument, the enable32BitAppOnWin64 application pool attribute on the destination is set to true.

Custom Provider Settings

The appPoolEnable32Bit provider has one optional custom provider setting.

Enable32Bit

In a sync operation, the Enable32Bit provider setting specifies the value of the enable32BitAppOnWin64 attribute of the destination application pool. This setting is useful when you want to change the bitness of the destination application pool without regard to the bitness of the application pool on the source. The default value for this provider setting is true. This setting has no effect in a dump operation, and cannot be applied to a source argument in a sync operation.

Usage: ,Enable32Bit=true|false

Example usages

1) Display, in XML format, the enable32BitAppOnWin64 application pool attribute.

msdeploy.exe -verb:dump -source:appPoolEnable32Bit="Default Web Site" -xml

2) Change the value of the enable32BitAppOnWin64 application pool attribute on the destination Web site to match the application pool attribute of the source.

msdeploy -verb:sync -source:appPoolEnable32Bit="Source Web site" -dest:appPoolEnable32Bit="Default Web site"

3) Enable the application pool on the destination to run 32-bit applications, regardless of the version of the application pool on the source.

msdeploy.exe -verb:sync -source:appPoolEnable32Bit -dest:appPoolEnable32Bit="Default Web Site",enable32bit=true

4) Do not specify a value for the source provider, which sets the enable32BitAppOnWin64 attribute of the application pool of the Web site on the destination to the default value of true.

msdeploy -verb:sync -source:appPoolEnable32Bit -dest:appPoolEnable32Bit="Default web site"

See Also

Concepts

Web Deploy appPoolNetFx Provider
Web Deploy appPoolPipeline Provider