微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

webdeploy – Web Deploy导致ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

我们正在尝试配置与TFS 2012的持续集成。排队新版本时,发布失败并显示错误

Build Failed.
“C:\src\ProjectName.sln” (default target) (1) ->
“C:\src\Website\ProjectName.csproj” (default target) (2) ->
(MSDeployPublish target) ->
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\Web\Microsoft.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(修复没有工作),然后重新安装。固定。 /叹

原文地址:https://www.jb51.cc/html/233437.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐