tirizar
asked on
Error using msdeploy on IIS 6
I'm planning a migration from IIS 6 to IIS 7 and need to test the MSDEPLOY tool. I'm trying to get the dependencies. I have the default site (ID 1), but also tried other ID's with the same result shown below.
======================
C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -source
:metakey=lm/w3svc/16914887 55
Error: Object of type 'metaKey' and path 'lm/w3svc/1691488755' cannot be created
.
Error: The metabase key '/lm/w3svc/1691488755' could not be found.
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error count: 1.
=====================
Any clues of the issue here?
======================
C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -source
:metakey=lm/w3svc/16914887
Error: Object of type 'metaKey' and path 'lm/w3svc/1691488755' cannot be created
.
Error: The metabase key '/lm/w3svc/1691488755' could not be found.
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error count: 1.
=====================
Any clues of the issue here?
msdeploy -verb:getDependencies,allt rigger -source:metakey=lm/w3svc/1
ASKER
Same thing:
C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies,allt rig
ger -source:metakey=lm/w3svc/1
Error: Object of type 'metaKey' and path 'lm/w3svc/1' cannot be created.
Error: The metabase key '/lm/w3svc/1' could not be found.
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error count: 1.
The server where I'm running this has not been rebooted since I installed webdeploy. I'm waiting for it to be rebooted tonight. Do you think that may be an issue?
C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies,allt
ger -source:metakey=lm/w3svc/1
Error: Object of type 'metaKey' and path 'lm/w3svc/1' cannot be created.
Error: The metabase key '/lm/w3svc/1' could not be found.
Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Error count: 1.
The server where I'm running this has not been rebooted since I installed webdeploy. I'm waiting for it to be rebooted tonight. Do you think that may be an issue?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
also check http://forums.iis.net/p/1170868/1955200.aspx
ASKER
When you start the msdeploy tool you get prompted on which account to use, it has a check box that restricts the user from using admin privileges. I unchecked the box, and problems solved. Thanks.