Using a 64-bit source and a 32-bit destination Error in Web Deploy

 

Error Situation:

When issuing the following Web Deploy statement:

C:\Program Files (x86)\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:metakey=lm/w3svc/1,computername=10.0.0.10 -dest:metakey=lm/w3svc/1 -enableLink:appPool > msdeploy.log -verbose

generates this error message:

Microsoft.Web.Deployment.DeploymentException: Using a 64-bit source and a 32-bit destination with provider metaKey is not supported.
at Microsoft.Web.Deployment.IISConfigFrom64To32RuleHandler.Check64To32...

Cause:

Using the x86 version of Web Deploy or the source server and attempting to synchronize with the x64 version on the target, or destination server.

Resolution:

Use the same bitness version of Web Deploy on both the source and destination servers. For example, use the x64 version on the source and the x64 version on the destination.

Note: This is only an issue when synchronizing and is not an issue when using packages.