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(修复没有工作),然后重新安装。固定。 /叹

相关文章

vue阻止冒泡事件 阻止点击事件的执行 <div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些