【发布时间】:2014-10-15 21:01:46
【问题描述】:
用户需要哪些权限才能使用 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 部署。
我的域帐户是目标服务器上的管理员,但不能授予服务帐户完整的管理员权限。
【问题讨论】:
标签: asp.net visual-studio-2010 iis microsoft-web-deploy