授予用户“DOMAIN \ MY-DESK $”的权限不足以执行此操作。 (rsAccessDenied)

时间:2016-04-11 17:22:32

标签: asp.net sql-server reporting-services

我的桌面名称为DOMAIN\MY-DESK。所以错误是关于我的桌面而不是我的Windows凭证。

我搜索了网络,其中大多数都与DOMAIN\UserName问题有关。本地报告网址为http://localhost/WebAdminOrion/Administrative/Reports

报告页面位于asp.net Web应用程序中。我在报告页面中有以下代码。

 ReportParameter[] prm = new ReportParameter[Request.QueryString.Keys.Count - 1];
 ReportViewer1.ServerReport.SetParameters(prm);

我在设置参数行中收到错误。   到this,我认为解决方案可能是配置文件。但是文件C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config有292行。一节是

<Authentication>
<AuthenticationTypes>
  <RSWindowsNTLM />
</AuthenticationTypes>
<RSWindowsExtendedProtectionLevel>Off</RSWindowsExtendedProtectionLevel>
<RSWindowsExtendedProtectionScenario>Proxy</RSWindowsExtendedProtectionScenario>
<EnableAuthPersistence>true</EnableAuthPersistence>

不确定如何配置它。

1 个答案:

答案 0 :(得分:0)

解决了它并且感到羞愧。 The permissions granted to user 'servername/iusr-username' are insufficient for performing this operation. (rsAccessDenied)

您需要进入SSRS ReportManager并配置安全设置。

通过属性   - &GT;安全 - &gt;新角色分配 - &gt;然后添加适当的域组。对于我的情况,它需要通过桌面名称添加为“DOMAIN \ DESK $”。