用户使用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
当我使用我的域帐户(例如domain \ user)并使用以下发布参数时,我可以使用Web部署。
我的域帐户是目标服务器上的管理员,但是不能选择授予服务帐户完全管理员权限。
答案 0 :(得分:1)
用户必须具有以下权限。
Web Deploy 3.0 infuriating 401 error on publish
帐户运行的用户应该是高级用户,并且必须对目标网站运行的文件夹具有完全控制权限。