簡體   English   中英

MSDeploy一鍵發布無法在VS2010中運行

[英]MSDeploy 1-click publish not working from VS2010

我們正在努力實現自動化部署,我真的很高興使用MSdeploy來幫助我們實現這一目標。 不幸的是,我一直沒有運氣讓MS部署與VS2010合作,我即將放棄。

我們的Win 2008服務器位於數據中心,我按照以下方式正確設置防火牆和MS部署遠程服務和IIS管理服務: http//learn.iis.net/page.aspx/516/configure-the-web-deployment -handler /

我已經設置了IIS管理器用戶並檢查了所有內容,我可以想一想。 如果我使用IIS遠程管理,我甚至可以從我們的開發環境連接。 但是當我從VS 2010發布時,我得到:

Error   1   Web deployment task failed.(Could not connect to the destination computer ("x.x.x.x"). On the destination computer, make sure that Web Deploy is installed and that the required process ("The Web Management Service") is started.)
The requested resource does not exist, or the requested URL is incorrect.
Error details:
Could not connect to the destination computer ("x.x.x.x"). On the destination computer, make sure that Web Deploy is installed and that the required process ("The Web Management Service") is started.
The remote server returned an error: (404) Not Found.       0   0   UI

我錯過了什么? 請幫忙?

如果未使用msdeploy服務的正確URL,則會彈出該錯誤。 它應該看起來像這樣:

HTTP:// XXXX:80 / MsDeployAgentService

:/ MsDeployAgentService是msdeploy使用的默認路徑。

其他要嘗試的事項:1。關閉防火牆,看看它是否有效。 2.驗證“Web部署服務”是否在目標服務器的Windows服務管理器中運行。

對於已經使用了一段時間的服務器,@ PaulLemke答案可能是正確的。

但作為瀏覽此問題的任何人的附錄 - 如果服務器上沒有安裝MSDeploy,則會拋出相同的錯誤 - 如果服務器是新的,可能會發生這種情況。 哦, 特洛伊亨特關於部署的一系列文章非常值得關注

暫無
暫無

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

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