« Previous Next »

Thread: msdeply with encryptPassword

Last post 07-02-2009 4:44 AM by Aled. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 07-01-2009, 12:00 PM

    • Aled
    • Not Ranked
    • Joined on 07-01-2009, 11:51 AM
    • Posts 4

    msdeply with encryptPassword

    I'm trying to migrate a number of sites from Server 2003 to Server 2008 with msdeploy.  All going well until I got to the site that has SSL. This one required me to enter a password when archiving the site using encryptPassword which I did. Now I have come to install it on the new server (2008) it is giving me the following error :

    Error:  The property 'value' is encrypted. The same password that was used for encryption must be specified in order to continue.
    Error count: 1

    I am using the same password. I even went back and made another archive just to make sure but I got the same error. I've Googled this error message but it didn't find a single page about it. 

     The commands I used are :

    msdeploy -verb:sync -source:metakey=lm/w3svc/711308 -dest:archivedir=c:\sitearchive\711308,encryptPassword=MyPassKey

    msdeploy -verb:migrate -source:archivedir=D:\sitearchive\711308 -dest:metakey=lm/w3svc/711308,encryptPassword=MyPassKey

    Can anyone help me with this please?

    Thanks
    Aled

  • 07-01-2009, 1:17 PM In reply to

    • Jamescoo
    • Top 500 Contributor
    • Joined on 05-02-2008, 1:54 AM
    • Redmond
    • Posts 25

    Re: msdeply with encryptPassword

    Hey Aled,

     

    I noticed your drive letters are different in your example above, and your migration does not have 'computername'.  Are you copying this archive from one machine to another?   Have you tried package provider as well?

    James

  • 07-01-2009, 1:51 PM In reply to

    • yaminij
    • Top 50 Contributor
    • Joined on 09-25-2007, 12:41 AM
    • Posts 185

    Re: msdeply with encryptPassword

    The encryptPassword should be specified with the source archivedir as follows

    msdeploy -verb:migrate -source:archivedir=D:\sitearchive\711308,encryptPassword=MyPassKey -dest:metakey=lm/w3svc/711308

    Thanks
    Yamini Jagadeesan, SDET, Microsoft IIS Team
  • 07-02-2009, 4:44 AM In reply to

    • Aled
    • Not Ranked
    • Joined on 07-01-2009, 11:51 AM
    • Posts 4

    Re: msdeply with encryptPassword

     Thanks yaminij, that worked. It seems obvious now. 

Page 1 of 1 (4 items)
Microsoft Communities