Visual Studio 2010 Web deployment task failed

前端 未结 15 1501
花落未央
花落未央 2020-12-01 01:31

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

相关标签:
15条回答
  • 2020-12-01 02:28

    I was getting similar errors from VS 2013 and found a fix I did not see mentioned any of the other answers.

    Errors:

    • The underlying connection was closed
    • Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host, from the build server (TFS 2010).

    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.

    0 讨论(0)
  • 2020-12-01 02:30

    Make sure you have set Site/Application correctly in publish profile: Publish profile dialog in Visual Studio 2010

    You get the same error message if you spell site or application name wrong.

    0 讨论(0)
  • 2020-12-01 02:35

    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.

    0 讨论(0)
提交回复
热议问题