簡體   English   中英

通過MSdeploy.exe部署發生錯誤550

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

對於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://<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

鑒於鏈接建議:

  • Ping遠程計算機。 * STATUS-OK
  • msdepsvc或wmsvc服務在遠程服務器上啟動。 * STATUS-OK
  • 防火牆不會阻止目標上端口的傳入連接。 如果它使用默認安裝,則msdepsvc為80,wmsvc為8172。 * STATUS-OK

這兩個服務都在目標服務器上運行:

  • 網站管理服務
  • Web部署代理服務

現在可以做些什么來解決它?

如果你已經檢查了基本的東西,比如

並嘗試了這里提到的步驟

它仍然無法正常工作,我可以建議使用Web管理服務失敗的請求跟蹤進行故障排除

這可能為時已晚,但其他人則檢查此錯誤。 驗證站點名稱。 IE,默認網站/ SiteDeploy(或者你稱之為的任何東西)

ķ

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM