gpt4 book ai didi

webdeploy - Web部署结果为ERROR_COULD_NOT_CONNECT_TO_REMOTESVC

转载 作者:行者123 更新时间:2023-12-03 07:28:29 33 4
gpt4 key购买 nike

我们正在尝试配置与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: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC)**



我检查了提及 in the IIS.NET documentation for this error的所有要点。提到的两个服务,Web管理服务和Web部署代理服务,都运行良好。这些服务的重新启动不会改变行为。
  • 具有IIS 7的Windows Server 2008 R2。
  • Web部署代理服务正在端口8172上运行。
  • Web部署3.0
  • Windows防火墙未阻止服务器上的任何端口。

  • 如何解决?

    最佳答案

    如果在安装Web管理工具之前安装Web Deploy 3.5,则必须重新安装它。我为此在墙上打了几个小时。安装Web管理服务(角色-> Web服务器>管理工具>管理服务)。然后卸载Web Deploy(修复无效),然后再次安装。固定。 /叹

    关于webdeploy - Web部署结果为ERROR_COULD_NOT_CONNECT_TO_REMOTESVC,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18739342/

    33 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com