![](/img/trans.png)
[英]VSTS msdeploy.exe error: ERROR_USER_NOT_AUTHORIZED_FOR_CONTENTPATH
[英]Error 550 occurred by deploying via MSdeploy.exe
对于ASP.NET项目,MSBuild在E:\\ Build中提供了一些文件,例如:
从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://<IP>: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
鉴于链接建议:
这两个服务都在目标服务器上运行:
现在可以做些什么来解决它?
这可能为时已晚,但其他人则检查此错误。 验证站点名称。 IE,默认网站/ SiteDeploy(或者你称之为的任何东西)
ķ
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.