« Previous Next »

Answered Thread: Using MSDeploy with IIS 7.0 and mixed 32- and 64-bit machines

Last post 10-24-2009 6:49 PM by Jamescoo. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 10-22-2009, 11:07 PM

    Using MSDeploy with IIS 7.0 and mixed 32- and 64-bit machines

    I was looking forward to using MSDeploy with IIS 7.0 web servers to be able to capture IIS metadata.  However, I don't seem to know how to build this command.  I want to capture all of the web site metadata and the associated application pool metadata.  I do not want to capture the files.

     Here is the command I used and the resultant output

    c:\build\Phoenix>"C:\program files\IIS\Microsoft web deploy\msdeploy.exe" -verb:sync -source:appHostConfig="dev-phoenix.
    socsuite.com",computerName=http://web02-d:81/msdeploy -dest:archivedir=WebDir -enableLink:AppPoolExtension -disableLink:ContentExtension
    Error: Using a 64-bit source and a 32-bit destination with provider appHostConfig is not supported.
    Error count: 1.

     So what would the correct command be?  Do I have to capture the appPool and webSite metadata separately?   I was hoping to be able to simply direct MSDeploy to perform this capture using only the website name.  TIA.

  • 10-23-2009, 8:25 PM In reply to

    • EmilyK
    • Not Ranked
    • Joined on 02-16-2008, 3:14 AM
    • Posts 11

    Re: Using MSDeploy with IIS 7.0 and mixed 32- and 64-bit machines

    Is the machine web02-d a 64 bit machine?  Are you using the RTW bits?  I'm assuming WebDir is actually a local directory on your client box and the client box is a 32 bit box?  Basically your command is fine, but the system is trying to sync from 64 bit to 32 bit ( and possibly not taking into account that it is going into an archive ).  Thus getting blocked.

    Do you have a 64 bit box to use as the client just to verify this?

    - Emily
  • 10-24-2009, 6:49 PM In reply to

    • Jamescoo
    • Top 500 Contributor
    • Joined on 05-01-2008, 9:54 PM
    • Redmond
    • Posts 25

    Answered Re: Using MSDeploy with IIS 7.0 and mixed 32- and 64-bit machines

    Hey mikeyfev1,

    Can you try the exact same thing with this path?

    c:\Program Files (x86)\IIS\Microsoft Web Deploy\msdeploy.exe

    It will ignore the 64 bit configuration if you don't need it since you are syncing to a 32 bit machine. Let me know if this doesn't / does help thanks.

Page 1 of 1 (3 items)
Microsoft Communities