Msdeploy IIS 6-7 Migration Issue

I am trying to view the dependencies of my website on IIS 6.0 running on a Windows 2003 server. When I type the following command,

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

      

I got the following error:

C:\Program Files\IIS\Microsoft Web Deploy>msdeploy -verb:getDependencies -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

      

Can anyone explain this to me?

+2


source to share


2 answers


check if site exists with site id 1 (/ lm / w3svc / 1 ) Click on Websites node in the left pane and check the id column in the right pane (IIS 6)



+7


source


usman has this ... and no, login as the admin doesn't care about starting the console in admin mode. Even if you are logged in as an administrator (or administrator), you still need to start the console in administrator mode.



+1


source







All Articles