Solved

Error using msdeploy on IIS 6

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 Activesync connectivity issue 4 68
ip / url redirect 13 71
Required permissions cannot be acquired 6 51
IIS 8.5 WebDav Shared Handler Mappings 6 27
Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 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