加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

webdeploy – Web Deploy导致ERROR_COULD_NOT_CONNECT_TO_REMOTE

发布时间:2020-12-14 21:50:28 所属栏目:资源 来源:网络整理
导读:我们正在尝试配置与TFS 2012的持续集成。排队新版本时,发布失败并显示错误: Build FAILED. “C:srcProjectName.sln” (default target) (1) - “C:srcWebsiteProjectName.csproj” (default target) (2) - (MSDeployPublish target) - C:Program Fil
我们正在尝试配置与TFS 2012的持续集成。排队新版本时,发布失败并显示错误:

Build FAILED.
“C:srcProjectName.sln” (default target) (1) ->
“C:srcWebsiteProjectName.csproj” (default target) (2) ->
(MSDeployPublish target) ->
C:Program Files (x86)MSBuildMicrosoftVisualStudiov11.0WebMicrosoft.Web.Publishing.targets(4377,5): msdeploy error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC: Web deployment task failed. (Could not connect to the remote computer (“ServerName”) 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: 07000)**

我检查了in the IIS.NET documentation for this error提到的所有要点。提到的两个服务,Web管理服务和Web部署代理服务都正常运行。重新启动这些服务的行为没有变化。

> Windows Server 2008 R2与IIS 7。
> Web部署代理服务正在端口8172上运行。
> Web部署3.0
> Windows防火墙不会阻止服务器上的任何端口。

如何解决?

解决方法

如果安装Web Deploy 3.5之前安装了Web管理工具,则必须重新安装。我在这个墙上打了几个小时。安装Web管理服务(角色 – > Web服务器>管理工具>管理服务)。然后卸载Web Deploy(修复没有工作),然后重新安装。固定。 /叹

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读