Error 550 occurred by deploying via MSdeploy.exe

For ASP.NET project MSBuild gives some files in E:\Build such as:

  • TestProjectA.deploy.cmd
  • TestProjectA.SetParameters.xml
  • TestProjectA.SourceManifest.xml
  • TestProjectA.zip

To deploy from Windows 7 to Windows Server 2008 R2 (IIS 7)

Executing command gives following error message:

Command

C:\Program Files\IIS\Microsoft WebDeploy V3>msdeploy.exe -verb:sync -source:contentPath='E:\Build'-dest:contentPath='ra/files-to-pub',ComputerName="https://<IP>:8172/msdeploy.axd?site=ra",UserName='DEV\Administrator',Password='MyPassword',AuthType='Basic'-enableRule:DoNotDeleteRule-whatif -allowUntrusted

Error Message:

Info: Using ID 'd1bbee7a-e940-4be1-b41d-1847b3e7022d' for connections to the remote server. Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC More Information: Could not connect to the remote computer ("103.15.43.10") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. Error: The remote server returned an error: (550). Error count: 1

Given link suggest to do:

  • Ping the remote machine. *STATUS-OK
  • The msdepsvc or wmsvc service is started on the remote server. *STATUS-OK
  • Firewall is not blocking incoming connections of your ports on the destination. If it used the default installation, then it would be 80 for msdepsvc and 8172 for wmsvc. *STATUS-OK

Both of service are running at target server:

  • Web Management Services
  • Web Deployment Agent Service

What can do now to solve it?

1 answer

This widget could not be displayed.

Solved by following command…

Configure IIS http://www.iis.net/learn/publish/using-web-deploy/configure-the-web-deployment-handler

C:\Program Files\IIS\Microsoft Web Deploy V3> msdeploy.exe -verb:sync -source:package='E:\Test-MsDeploy\Package\TestProjectA.zip' -dest:auto,wmsvc='https://{IP}:8172/msdeploy.axd?site=Default%20Web%20Site',user‌​Name='******',password='******',includeAcls='False' -disableLink:AppPoolExtension -disableLink:ContentExtension -disableLink:CertificateExtension -setParamFile="E:\Test-MsDeploy\Package\TestProjectA.SetParameters.xml" -allowUntrusted

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 10 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

30 views 1 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you