通过MSdeploy.exe部署发生错误550

 mobiledu2502869617 发布于 2023-01-19 20:30

对于ASP.NET项目,MSBuild在E:\ Build中提供了一些文件,例如:

TestProjectA.deploy.cmd

TestProjectA.SetParameters.xml

TestProjectA.SourceManifest.xml

TestProjectA.zip

从Windows 7部署到Windows Server 2008 R2(IIS 7)

执行命令会显示以下错误消息:

命令

C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy.exe -verb:sync  -source:contentPath='E:\Build'  -dest:contentPath='ra/files-to-pub',ComputerName="https://:8172/msdeploy.axd?site=ra",UserName='DEV\Administrator',Password='MyPassword',AuthType='Basic' -enableRule:DoNotDeleteRule -whatif -allowUntrusted

错误信息:

Info: Using ID 'd1bbee7a-e940-4be1-b41d-1847b3e7022d' for connections to the remote server. Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC More Information: Could not connect to the remote computer ("[IP ADDRESS]") 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. Error: The remote server returned an error: (550). Error count: 1

鉴于链接建议:

Ping远程计算机.*STATUS-OK

msdepsvc或wmsvc服务在远程服务器上启动.*STATUS-OK

防火墙不会阻止目标上端口的传入连接.如果它使用默认安装,则msdepsvc为80,wmsvc为8172.*STATUS-OK

这两个服务都在目标服务器上运行:

网站管理服务

Web部署代理服务

现在可以做些什么来解决它?

2 个回答
  • 如果你已经检查了基本的东西,比如

    凭证是正确的

    网站名称拼写正确无处不在

    并尝试了这里提到的步骤

    它仍然无法正常工作,我可以建议使用Web管理服务失败的请求跟踪进行故障排除

    2023-01-19 20:35 回答
  • 这可能为时已晚,但其他人则检查此错误.验证站点名称.IE,默认网站/ SiteDeploy(或者你称之为的任何东西)

    ķ

    2023-01-19 20:35 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有