Hello fellow IIS Admins:
I am new to Web Deploy 3.0 and have an issue which someone may able to remedy:
I am trying to migrate a web site from a server to another sever using a custom manifest file.
Have ran this command as an Administrator (with ports 80 and 8172 - open on the destination machine and port 80 open on the source machine) Tried opening 8172 on source server and the web deploy sevices on both machines are started and automatic and running
as Network Service account.
Source Machine Windows 2003, IIS 6.0 32-bit
Destination Machine Windows 2008 R2 64 bit with IIS 7.0
When I run this commad, Web Deploy says Access is Denied. I am positive I have Admin sys privilages on both machines and all the pre-requ's are installed and configured rightly. P drive is showing on both machines in Windows Explorer. Have looked on Web
Deploy forums for help.
msdeploy -whatif -verbose -verb:sync -source:manifest=p:\Custom.xml -dest:manifest=p:\Custom01.xml,computerName=Server02 > webdeploysync.log
<TestMigration>
<appHostConfig path="Dev_Mig_Home_Server01_to_Server02" />
authType=<"NTLM">
<enable:Auto/>
<enableLink:AppPool/>
<enableLink:AppPoolExtension/>
<dirPath path="C:\MyExtraFiles" />
<source:contentPath="'\\Server01\E$\intranet\blah.blah.local,includeAcls=true'" />
<dest:contentPath="'\\Server02\E$\websites,computerName=Server02,username=blah\Username,password=password'" />
<appPoolEnable32Bit="True" />
<gacAssembly path="'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'" />
<comObject path="Microsoft.ApplicationHost.AdminManager" />
<source:regvalue="HKLM/Software/CustomTool/tracing/enabled -dest :regvalue=HKLM/Wow6432Node/CustomTool/tracing/enabled" />
<regKey path="HKLM\Software\ODBC" />
<source:regKey="'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Inetmgr'" -dest:webServer,computerName=Server02 -skip:skipAction=Delete,objectName=regKey />
<UseRealAbo="False" />
</TestMigration>
I have a number of questions:
- With "Access is Denied" - what permissions or Group Policy is stopping me from running my msdeploy cmd?
- Does my Manifest look ok and will it work?
- Do I need to migrate the registry keys? I think I do; but seek an expert's second opinion.
- My web config for this site has SQL Server connection string - do I need to full specifiy the dbFullSQL Provider plus relevant sub-Providers or does my manifest cater for my web.config file setting with the relevant Provider?
- I have no destination manifest file, only whats set in my cmd line string. Do I need to create a empty xml file called custom01.xml?
I hope someone can cast their expert eyes over what I have done and give me some positive feed back. In the meantime, I shall carry on with the example commands on IIS.net and technet and see what happens.
Regards,
Spainish Waiter