« Previous Next »

Thread: error requiring encryption?

Last post 04-28-2009 12:51 PM by bill_t. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 04-27-2009, 1:07 PM

    • bill_t
    • Not Ranked
    • Joined on 04-27-2009, 1:01 PM
    • Posts 2

    error requiring encryption?

    I upgraded from the beta tool, to RC1.

    I'm getting the following error when trying to syc up with an archive created with the beta version of the tool:

     Action: Adding child metaProperty (/lm/w3svc/1/ROOT/KeyType)
    Action: Adding child metaProperty (/lm/w3svc/1/ROOT/UNCPassword)
    Error:  The property 'value' is marked as secure. An encryption password must be
     specified in order to deploy this property.
    Error count: 1

     

    The command I'm using is the basic one in the tutorial:

     msdeploy -verb:sync  -source:metakey=lm/w3svc/1 -dest:archivedir=d:\my_archive

     

    Can someone point me in the right direction please?

     

    Bill

  • 04-28-2009, 12:07 PM In reply to

    • kateroh
    • Top 50 Contributor
    • Joined on 10-27-2008, 11:19 PM
    • Posts 137

    Re: error requiring encryption?

    Bill,

    You need to specify a password to encrypt secure data during sync:

    msdeploy -verb:sync  -source:metakey=lm/w3svc/1 -dest:archivedir=d:\my_archive,encryptPassword=MyPassword

    Also note that you will need to specify this password when syncing back from the archive dir:

    msdeploy -verb:sync -source:archivedir=d:\my_archive,encryptPassword=MyPassword -source:metakey=lm/w3svc/1

    Thanks,
    Katerina Rohonyan, SDET, Microsoft IIS Team
  • 04-28-2009, 12:51 PM In reply to

    • bill_t
    • Not Ranked
    • Joined on 04-27-2009, 1:01 PM
    • Posts 2

    Re: error requiring encryption?

     Thanks very much, works like a charm.

     

    Bill

Page 1 of 1 (3 items)
Microsoft Communities