ユーザーが別のサーバーで実行されている IIS への Web デプロイを使用するには、どのようなアクセス許可が必要ですか?
そのユーザーの資格情報を使用して VS 2010 からデプロイしようとすると、次のエラーが発生します。
Error 36 Web deployment task failed.(Remote agent (URL https://server:8172/msdeploy.axd?site=site.name.com) could not be contacted. Make sure the remote agent service is installed and started on the target computer.)
Make sure the site name, user name, and password are correct. If the issue is not resolved, please contact your local or server administrator.
Error details:
Remote agent (URL https://server:8172/msdeploy.axd?site=site.name.com) 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: (401) Unauthorized. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets
次のパブリッシュ引数でドメイン アカウント (ドメイン\ユーザーなど) を使用すると、Web デプロイを使用できます。
私のドメイン アカウントは移行先サーバーの管理者ですが、サービス アカウントに完全な管理者権限を付与することはできません。