Link to home
Start Free TrialLog in
Avatar of tirizar
tirizarFlag for Puerto Rico

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/1691488755
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?
Avatar of shalabhsharma
shalabhsharma
Flag of India image

msdeploy -verb:getDependencies,alltrigger -source:metakey=lm/w3svc/1

Avatar of tirizar

ASKER

Same thing:


C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies,alltrig
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
Avatar of shalabhsharma
shalabhsharma
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tirizar

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.