Solved

Error using msdeploy on IIS 6

Posted on 2010-09-02
5
2,121 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:tirizar
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:shalabhsharma
ID: 33589134
msdeploy -verb:getDependencies,alltrigger -source:metakey=lm/w3svc/1

0
 

Author Comment

by:tirizar
ID: 33589566
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?
0
 
LVL 9

Accepted Solution

by:
shalabhsharma earned 125 total points
ID: 33589581
run the webdeployment tool as administrator

right click it and select run as admin and execute the command again
0
 
LVL 9

Expert Comment

by:shalabhsharma
ID: 33589623
0
 

Author Comment

by:tirizar
ID: 33596151
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.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now