Visual Studio 2010 Web deployment task failed

前端 未结 15 1640
花落未央
花落未央 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    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.

提交回复
热议问题