简体   繁体   English

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

[英]Error 550 occurred by deploying via MSdeploy.exe

For ASP.NET project MSBuild gives some files in E:\\Build such as: 对于ASP.NET项目,MSBuild在E:\\ Build中提供了一些文件,例如:

  • TestProjectA.deploy.cmd TestProjectA.deploy.cmd
  • TestProjectA.SetParameters.xml TestProjectA.SetParameters.xml
  • TestProjectA.SourceManifest.xml TestProjectA.SourceManifest.xml
  • TestProjectA.zip TestProjectA.zip

To deploy from Windows 7 to Windows Server 2008 R2 (IIS 7) 从Windows 7部署到Windows Server 2008 R2(IIS 7)

Executing command gives following error message: 执行命令会显示以下错误消息:

Command 命令

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

Error Message: 错误信息:

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

Given link suggest to do: 鉴于链接建议:

  • Ping the remote machine. Ping远程计算机。 *STATUS-OK * STATUS-OK
  • The msdepsvc or wmsvc service is started on the remote server. msdepsvc或wmsvc服务在远程服务器上启动。 *STATUS-OK * STATUS-OK
  • Firewall is not blocking incoming connections of your ports on the destination. 防火墙不会阻止目标上端口的传入连接。 If it used the default installation, then it would be 80 for msdepsvc and 8172 for wmsvc. 如果它使用默认安装,则msdepsvc为80,wmsvc为8172。 *STATUS-OK * STATUS-OK

Both of service are running at target server: 这两个服务都在目标服务器上运行:

  • Web Management Services 网站管理服务
  • Web Deployment Agent Service Web部署代理服务

What can do now to solve it? 现在可以做些什么来解决它?

If you have checked the basic stuff like 如果你已经检查了基本的东西,比如

And have tried the steps mentioned here 并尝试了这里提到的步骤

And it still didn't work then may I suggest troubleshooting using Web Management Service Failed Request Tracing 它仍然无法正常工作,我可以建议使用Web管理服务失败的请求跟踪进行故障排除

This might be too late, but for others checking this error. 这可能为时已晚,但其他人则检查此错误。 Verify the Site name too. 验证站点名称。 IE, Default Web Site/SiteDeploy (or whatever you call it) IE,默认网站/ SiteDeploy(或者你称之为的任何东西)

k ķ

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 VSTS msdeploy.exe错误:ERROR_USER_NOT_AUTHORIZED_FOR_CONTENTPATH - VSTS msdeploy.exe error: ERROR_USER_NOT_AUTHORIZED_FOR_CONTENTPATH 使用清单会从MSDeploy.exe中给出错误“无法识别参数” - Using Manifest gives an error 'parameter is not recognized' from MSDeploy.exe 告诉MSDeploy.exe在后续部署中跳过部署一些选择文件 - Tell MSDeploy.exe to skip deploying a few select files in subsequent deployments 从DefaultAppPool下运行msdeploy.exe会产生奇怪的行为 - Run msdeploy.exe from under DefaultAppPool produces weird behaviour MSDeploy.exe可以作为管理员连接,但不能以任何其他Windows帐户连接 - MSDeploy.exe can connect as Administrator, but not any other Windows account 使用设置的参数部署到Azure时出现MSdeploy错误 - MSdeploy error while deploying to Azure with set parameters 使用msdeploy(webdeploy)部署网站 - Deploying website with msdeploy(webdeploy) 通过实体框架请求数据时发生错误 - error occurred when requesting data via Entity Framework 使用MSDEPLOY的TeamCity ERROR_FILE_IN_USE - TeamCity using MSDEPLOY ERROR_FILE_IN_USE 尝试确定托管您的应用程序的 dotnet.exe 的进程 ID 时发生错误 - 启动时不进行调试 - An error occurred attempting to determine the process id of dotnet.exe which is hosting your application - Starts without debugging
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM