Hi,
For a customer of ours we have used the msdeploy tool to try and migrate 4000+ ASP websites running under IIS6 to IIS7. msdeploy and the remote agent were installed on the source IIS6. On the destination IIS7 machine (Windows Server 2008 RTM) we installed only the msdeploy and not the remote agent.
Issue 1:
From the destination IIS7 machine we ran the following command-line:
msdeploy -whatif -verb:migrate -source:webServer60,targetName=http://192.168.0.167/MSDEPLOY -dest:webServer60
just like the document "Migrating an IIS 6.0 Web Server Remotely" specifies. Running the command resulted in 2 stack dumps for an "Object reference not set to an instance of an object" NullReferenceException (stack dump is available if necessary). After that both the local msdeploy.exe and the remote wdagent.exe seemed to stop working. They were at 1.597 MB (1.6 GB) and 556 MB private memory respectively.
Additional question: why do we need to specify the -dest:webServer60 when migrating to IIS7? It seems counter-intuitive.
Issue 2:
Our next attempt was to migrate a single Web site by running:
msdeploy -whatif -verb:migrate -source:metakey=lm/w3svc/1154,targetName=http://192.168.0.167/MSDEPLOY
-dest:metakey=lm/w3svc/1154
This seemed to work, because the tool managed to complete succesfully. However, running the command for real (without -whatif) caused a fatal error:
Fatal: Sync operation 'Update' failed with destination filePath (C:\inetpub\wwwroot\{removedsensitiveinfo}\images\bedr_hoekje1.gif)
Fatal: String was not recognized as a valid DateTime.
First this happened on the SmartNav.htm file in the aspnet_client. Since we have an ASP website we removed the folder, which gave the same error on a different file.
We have a log file available if this would be helpful.
Any help would be appreciated.
Thanks, Alex