用户使用 Web 部署到在不同服务器上运行的 IIS 需要哪些权限?
当我尝试使用该用户凭据从 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 部署。
我的域帐户是目标服务器上的管理员,但不能授予服务帐户完全管理员权限。