我在Azure上部署了應用程序。現在,我將MvcWebRole項目設置爲通過Web部署直接發佈到我的角色實例。 (闖民宅鏈接:http://www.wadewegner.com/2010/12/using-web-deploy-with-windows-azure-for-rapid-development/)無法使用Web部署工具部署Web應用程序
但是,每當我試圖發佈一個應用程序,它給一個錯誤,如:
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? 有人請幫忙!
感謝, TAdhav
嘿感謝DUnnry。 :) – TAdhav 2011-04-19 04:59:43