繁体   English   中英

Web部署到IIS站点所需的权限

[英]Permissions necessary to web deploy to IIS site

用户使用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部署。

发布参数

我的域帐户是目标服务器上的管理员,但是不能授予服务帐户完全的管理员特权。

用户必须具有以下权限。

  • 对站点文件夹目录的读/写权限
  • 必须将WDeployConfigWriter和WDeployAdmin配置为使其密码永不过期,并且用户无法更改密码,如以下屏幕截图所示 WDeployConfigWriter属性
  • 应该在“ IIS管理器用户”下启用运行生成的帐户。
  • 运行构建的帐户必须具有“ IIS管理器权限”下的站点权限。
  • 配置管理服务
  • 如下配置管理服务委托 配置管理服务委托

有用的参考

Web Deploy 3.0在发布时出现401错误

运行该帐户的用户应该是超级用户,并且必须对运行目标iis站点的文件夹具有完全控制权限。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM