December 22, 2010 Leave a comment
So I was running this command on an IIS 6.0 box:
msdeploy verb:sync -source:webServer60 -dest:package=c:\package.zip
and kept getting this error:
Error: The property ‘value’ located at ‘/webServer60/metaKey[@path='/LM/W3SVC']/metaProperty’ is marked as secure. You must specify an encryption password to archive this property.
Since this was a production server setup by someone else, I thought that I had to get the password from them. NOPE!!! After an hour of scouring the web to see how even to set this password in IIS 6; a colleague pointed out that it needs the password to encrypt the metabase properties going into the package!!!!
So I could set any password!!! Just have to remember it when I go to deploy that package somewhere else.
Here’s to hoping you find this post before wasting an hour like me!