Here is the stack trace:
msdeploy -verb:sync -source:metakey=lm /w3svc/1 -dest:metakey=lm/w3svc/1,computername=pnt-mahdi,username=mol-dom\momazi a,password=Di5gui$eD -debug
Microsoft.Web.Deployment.DeploymentException: Request to remote agent URL 'http: //pnt-mahdi/MSDEPLOYAGENTSERVICE' failed. ---> System.Net.WebException: The unde rlying connection was closed: An unexpected error occurred on a receive. ---> Sy stem.IO.IOException: Unable to read data from the transport connection: An exist ing connection was forcibly closed by the remote host. ---> System.Net.Sockets.S ocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s ize) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s ize) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev edStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at Microsoft.Web.Deployment.AgentClientProvider.GetResponse(HttpWebRequest re quest) --- End of inner exception stack trace --- at Microsoft.Web.Deployment.AgentClientProvider.GetResponse(HttpWebRequest re quest) at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObje ct sourceObject, DeploymentSyncContext syncContext) at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, Conten tRootTable contentRootTable) at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncO ptions) at MSDeploy.MSDeploy.Execute() at MSDeploy.MSDeploy.Main(String[] unusedArgs) Error count: 1
(I have installed web deployment tools at both computers by following command LISTENURL=http://+:8081/MsDeployAgentService2/ [does it have any thing to do with the errors????])
I would be thankful if you could help me with it.