簡體   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