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
私はいくつかの記事を読みましたが、それらのほとんどは、コマンド「netstartmsdepsvc」を発行してリモートエージェントサービスがすでに開始されていることを確認するようにアドバイスしています。しかし、このコマンドを発行すると「サービス名が無効です」というエラーが返される理由がわかりません。
サーバーがパラメーターmsdepsvcを理解できないのはなぜですか?誰か助けてくれませんか!
ありがとう、TAdhav