簡體   English   中英

無法使用Web部署工具來部署Web應用程序

[英]Unable to deploy web application using web deployment tool

我在Azure上部署了一個應用程序。 現在,我將MvcWebRole項目設置為通過Web部署直接發布到我的角色實例。 (參考鏈接: http ://www.wadewegner.com/2010/12/using-web-deploy-with-windows-azure-for-rapid-development/)

但是,每當我嘗試發布應用程序時,都會出現如下錯誤:

Error 1 Web deployment task failed.(Remote agent (URL http://mywebsvr/MSDEPLOYAGENTSERVICE) could not be contacted. 
Make sure the remote agent service is installed and started on the target computer.)

The requested resource does not exist, or the requested URL is incorrect.

Error details:

Remote agent (URL http://mywebsvr/MSDEPLOYAGENTSERVICE) could not be contacted. Make sure the remote agent service is installed and started on the target computer.

An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected.

The remote server returned an error: (404) Not Found. 0 0 CPE Tracking System

我閱讀了一些文章,其中大多數文章建議通過發出命令“ net start msdepsvc”來確保遠程代理服務已啟動。 但是我不知道為什么發出此命令將返回錯誤“服務名稱無效”。

服務器為什么無法理解參數msdepsvc? 有人請幫忙!

謝謝,塔達夫

我會嘗試使用新的SDK 1.4 Refresh。 這包括現在受官方支持的WebDeploy工具,並且很有可能在沒有打h的情況下工作。

更多信息和鏈接在這里下載:

http://blogs.msdn.com/b/windowsazure/archive/2011/04/15/now-available-windows-azure-sdk-1-4-refresh-with-webdeploy-integration.aspx

感謝您的回復。 現在問題已解決。 嘗試部署應用程序的用戶沒有計算機權限。

參考鏈接: http : //forums.iis.net/p/1176267/1974277.aspx

用於在服務器上設置權限的鏈接是: http : //learn.iis.net/page.aspx/155/an-overview-of-feature-delegation-in-iis-70/

謝謝,

TA

暫無
暫無

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

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