Hi,
I'm trying to migrate the contents of a remote IIS6 web server to a local (server 2012) IIS8 server. Both servers use framework 4 and I've been explicit about this in the msdeploy. The remote server has the files stored on the D:\ drive and my local server
only has a C: drive so I tried adding a match and replace. It always seems to time out after (roughly) two minutes.
Here's what I'm putting in -
C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:sync -source:webserv
er60,computerName=http://MyIPAddress/MSDEPLOYAGENTSERVICE,userName="RemoteDomain\MyAdminAccount",password="MyAdminPassword",machineconfig32.netfxversion=4,rootwebconfig32.netfxversion=4 -replace:objectName=metaproperty,match="D:\\Inetpub\
\dir",replace="C:\inetpub\dir" -dest:auto,computerName=MyLocalServer,use
rName="LocalDomain\MyAdminAccount",password="MyAdminPassword" -whatif
Full error
Error Code: ERROR_EXCEPTION_WHILE_CREATING_OBJECT
More Information: Object of type 'webServer60' and path '' cannot be created. L
earn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXCEPTION_WHIL
E_CREATING_OBJECT.
Error: Could not complete the request to remote agent URL 'http://MyIpAddress
/MSDEPLOYAGENTSERVICE'.
Error: The underlying connection was closed: A connection that was expected to b
e kept alive was closed by the server.
Error: Unable to read data from the transport connection: An existing connection
was forcibly closed by the remote host.
Error: An existing connection was forcibly closed by the remote host
Error count: 1.
At first I thought my firewall might have been blocking it but I can see no evidence of this on my firewall logs and a getDependincies request is successful -
C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -verb:getDependencies -sou
rce:webserver60,computerName=http://MyIpAddress/MSDEPLOYAGENTSERVICE,userName
="RemoteDomain\MyAdminAccount",password="MyAdminPassword"
Also, before I matched the framework versions it looked as though it was starting to work before a ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH error I had about twenty lines like this -
Info: Adding child metaKey (/LM/W3SVC/AspEnableAspHtmlFallback).
Info: Adding child metaKey (/LM/W3SVC/AspKeepSessionIDSecure).
Info: Adding child metaKey (/LM/W3SVC/AspLCID).
Info: Adding child metaKey (/LM/W3SVC/AspMaxRequestEntityAllowed).
The webDeploy service is running on the remote server. Other than travel to the remote site and do it all locally (bypassing the firewalls) I don't know what else to try. Can anyone help?
Cheers