![](/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.