I am trying to use VS2010\'s 1-Click Publish feature to deploy a test site from my laptop to my server. I have the firewall turned off on both machines and the MS Deployment
I was getting similar errors from VS 2013 and found a fix I did not see mentioned any of the other answers.
Errors:
Fix:
The fix in my case was to re-enable TLS 1.0 on the target. It's a registry key but I am using the free IISCrypto applet for this.
Make sure you have set Site/Application correctly in publish profile:
You get the same error message if you spell site or application name wrong.
Like a dummy, this error was throwing for me because I hadn't installed the Remote Web Agent as part of the Web Deployment Tool available here.