gpt4 book ai didi

reporting - 如何解决此错误 : The permissions granted to user 'COMPUTERNAME\\ASPNET' are insufficient for performing this operation. (rsAccessDenied)

转载 作者:行者123 更新时间:2023-12-04 17:06:14 25 4
gpt4 key购买 nike

我正在尝试将 SSRS 报告集成到我的网页中。
代码如下:

ReportViewer1.ProcessingMode = rocessingMode.Remote;
ReportViewer1.ServerReport.ReportServerUrl = new Uri("http://localhost/reportserver");
ReportViewer1.ServerReport.ReportPath = "/Report Project1/Reconciliation";
List<ReportParameter> paramList = new List<ReportParameter>();
paramList.Add(new ReportParameter("StartDate", startdate.ToString(), false));
paramList.Add(new ReportParameter("EndDate", enddate.ToString(), false));
this.ReportViewer1.ServerReport.SetParameters(paramList);
ReportViewer1.Visible = true;

当我尝试运行此报告时出现此错误:
The permissions granted to user 'COMPUTERNAME\\ASPNET' are insufficient for performing this operation. (rsAccessDenied)"}   
System.Exception {Microsoft.Reporting.WebForms.ReportServerException}

谁能告诉我我做错了什么?

最佳答案

稍微澄清 Erikk 的回答。

您要设置以修复此错误的特定安全权限集(报告管理器中至少还有另外两种类型的安全设置)在您所在报告文件夹的“属性”选项卡的“安全”菜单选项中可用看着。

显然,不言而喻,您不应该为 Home 文件夹的“Everyone”组授予完全权限,因为这会继承到所有其他项目和子文件夹,并打开一个巨大的安全漏洞。

关于reporting - 如何解决此错误 : The permissions granted to user 'COMPUTERNAME\\ASPNET' are insufficient for performing this operation. (rsAccessDenied),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/136823/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com