Solved

Error using msdeploy on IIS 6

Posted on 2010-09-02
5
2,157 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 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