授予用户的权限 不足以执行此操作。 (rsAccessDenied)”}
我使用 SSRS (2005) 创建了一个报告模型并发布到本地服务器。 但是,当我尝试使用报告生成器运行我发布的模型的报告时,出现以下错误。
报告执行错误:授予用户的权限不足以执行此操作。 (rsAccessDenied)
I created a report model using SSRS (2005) and published to the local server. But when I tried to run the report for the model I published using report builder I get the following error.
Report execution error:The permissions granted to user are insufficient for performing this operation. (rsAccessDenied)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(21)
在报告管理器中的站点设置下 > 配置系统级角色定义 > 检查执行报告定义选项
然后
创建一个系统用户组,授予该组的访问权限
连接到服务器属性中的报告服务数据库并添加一个组并允许以系统用户身份进行访问...它应该可以工作
under Site setting in Reports manager >Configure system-level role definitions > check ExecuteReport Defination option
then
Create a System UserGroup, Give the access to that group at
Connect to your reporting Services Data base in server properties and add a group and permite the access as System User... It should work
我有 SQL2008 / Windows 2008 Enterprise,这是我必须执行的操作来纠正 rs.accessdenied、404、401 和 503 错误:
I have SQL2008 / Windows 2008 Enterprise and this is what I had to do to correct the
rs.accessdenied
, 404, 401 and 503 errors:老但相关的问题。 我通过登录报告服务器解决了 2012 年的问题:
不能说我是对这个解决方案感到满意,但我需要一些有效的东西并且它有效。 希望这对其他人有帮助。
Old but relevant issue. I solved for 2012 by logging in to the reporting server and:
Can't say that I'm comfortable with this solution, but I needed something that worked and it worked. Hope this helps someone else.
以管理员身份打开 Internet Explorer。
打开报告 URL
http://machinename/reportservername
,然后在“文件夹设置”中向所需的用户组授予权限。
Open internet explorer as administrator.
Open the reports url
http://machinename/reportservername
then in 'folder settings' give permission to required user-groups.
问题:
错误 rsAccessDenied:授予用户“User\User”的权限不足以执行此操作。
解决方法:
点击“文件夹设置”> 《新角色分配》
然后在“组或用户名文本框”中键入“User\User”。
选中您希望用户拥有的角色复选框。
Problem:
Error rsAccessDenied : The permissions granted to user 'User\User' are insufficient for performing this operation.
Solution:
Click "Folder Setting" > "New Role Assignment"
Then type "User\User" in the 'Group or user name text box'.
Check the Roles check boxes that you would want the user to have.
对我有用的是:
What Worked for me was:
这对我有用-
-转到报告管理器,检查站点设置-> 安全-> 新角色分配-> 添加用户
-此外,转到报表管理器中的数据集 -> 您的报告数据集 -> 安全-> 新角色分配 -> 添加具有所需角色的用户。
谢谢!
This worked for me-
-go to the report manager, check site settings-> Security -> New Role Assignment-> add the user
-Also, go to Datasets in report manager -> your report dataset -> Security -> New Role Assignment -> add the user with the required role.
Thanks!
我知道这是很久以前的事了,但可能对其他新手有帮助,
我决定在请求 SSRS 报告时传递用户名、密码和域,所以我创建了一个实现 IReportServerCredentials 的类。
在调用 SSRS Reprots 时,放入以下代码
SSRSReportUser、SSRSReportUserPassword、SSRSReportUserDomain、SSRSReportFolder 在 web.config 文件中定义。
I know it's for a long time ago but may be helpful to any other new comers,
I decided to pass user name,password and domain while requesting SSRS reports, so I created one class which implements IReportServerCredentials.
while calling SSRS Reprots, put following piece of code
SSRSReportUser,SSRSReportUserPassword,SSRSReportUserDomain,SSRSReportFolder are defined in web.config files.
报表可能想要访问 AD 用户(或 AD 组)访问权限不足的 DataSource 或 DataView。
请确保检查以下 URL:
http://REPORTSERVERNAME/Reports/Pages/Folder.aspx?ItemPath=%2fDataSources
http://REPORTSERVERNAME/Reports/Pages/Folder.aspx ?ItemPath=%2fDataSets
然后选择
文件夹设置
(或相应的单个
DataSource
或DataSet
)以及选择安全
。 用户组需要拥有Browser
权限。The report might want to access a DataSource or DataView where the AD user (or AD group) has insuficcient access rights.
Make sure you check out the following URLs:
http://REPORTSERVERNAME/Reports/Pages/Folder.aspx?ItemPath=%2fDataSources
http://REPORTSERVERNAME/Reports/Pages/Folder.aspx?ItemPath=%2fDataSets
Then choose
Folder Settings
(or the appropriate individual
DataSource
orDataSet
) and selectSecurity
. The user group needs to have theBrowser
permission.对我有用的是:
即可,
祝你好运!
What worked for me was:
That should do it,
Good luck!
就像纳赛尔一样,我知道这是不久前的事,但我想为将来遇到此问题的任何人发布我的解决方案。
我进行了报告设置,以便它将使用 SharePoint 上托管的数据连接库中的数据连接。 我的问题是我没有“批准”数据连接,因此其他用户可以使用它。
另一件需要注意的事情是确保该数据连接库的权限也允许所选用户读取。
希望这迟早能帮助别人!
Just like Nasser, I know this was a while ago but I wanted to post my solution for anyone who has this problem in the future.
I had my report setup so that it would use a data connection in a Data Connection library hosted on SharePoint. My issue was that I did not have the data connection 'approved' so that it was usable by other users.
Another thing to look for would to make sure that the permissions on that Data Connection library also allows read to the select users.
Hope this helps someone sooner or later!
对于 SQL Reporting Services 2012 - SP1 和 SharePoint 2013。
我遇到了同样的问题:
授予用户“[AppPoolAccount]”的权限不足以执行此操作。
我进入服务应用程序设置,单击密钥管理,然后单击更改密钥并让它重新生成密钥。
For SQL Reporting Services 2012 - SP1 and SharePoint 2013.
I got the same issue:
The permissions granted to user '[AppPoolAccount]' are insufficient for performing this operation.
I went into the service application settings, clicked Key Management, then Change key and had it regenerate the key.
感谢分享。 经过1.5天的努力,发现报表服务器配置了错误的域IP。 配置了备份域IP,但处于离线状态。 我已在未列出域名的用户组配置中识别出这一点。 更改 IP 并重新启动报告服务器。 问题解决了。
Thanks for Sharing. After struggling for 1.5 days, noticed that Report Server was configured with wrong domain IP. It was configured with backup domain IP which is offline. I have identified this in the user group configuration where Domain name was not listed. Changed IP and reboot the Report server. Issue resolved.
尽管现有管理员组成员身份,但仍以管理员身份运行 BIDS。
Run BIDS as administrator despite of existing membership of Administrators group.
设置 SSRS 2016 后,我通过 RDP 进入服务器 (Windows Server 2012 R2),导航到报告 URL (https://reports.fakeserver.net/Reports/browse/) 并创建了一个文件夹标题 FakeFolder; 一切似乎都运行良好。 然后我断开与服务器的连接,浏览到相同的 URL,以同一用户身份登录,并遇到以下错误。
困惑的是,我几乎尝试了此页面上建议的所有解决方案,但在导航到 URL 并进行身份验证时仍然无法在本地和外部创建相同的行为。 然后,我单击 FakeFolder 的省略号,单击“管理”,单击“安全”(位于屏幕左侧),然后将自己添加为具有完全权限的用户。 与服务器断开连接后,我浏览到 https://reports.fakeserver.net/Reports/browse /FakeFolder,并且能够查看该文件夹的内容而不会遇到权限错误。 但是,当我单击主页时,我收到了权限错误。
就我的目的而言,这已经足够好了,因为其他人都不需要浏览到根 URL,因此每当我需要在 SSRS 中进行更改时,我都会在心里记下,以便首先连接到服务器,然后浏览到报告 URL 。
After setting up SSRS 2016, I RDP'd into the server (Windows Server 2012 R2), navigated to the reports URL (https://reports.fakeserver.net/Reports/browse/) and created a folder title FakeFolder; everything appeared to be working fine. I then disconnected from the server, browsed to the same URL, logged in as the same user, and encountered the error below.
Confused, I tried pretty much every solution suggested on this page and still could not create the same behavior both locally and externally when navigating to the URL and authenticating. I then clicked the ellipsis of FakeFolder, clicked Manage, clicked Security (on the left hand side of the screen), and added myself as a user with full permissions. After disconnecting from the server, I browsed to https://reports.fakeserver.net/Reports/browse/FakeFolder, and was able to view the folder's contents without encountering the permissions error. However, when I clicked home I received the permissions error.
For my purposes, this was good enough as no on else will ever need to browse to the root URL, so I just made a mental note whenever I need to make changes in SSRS to first connect to the server and then browse to the Reports URL.
我已使用以下步骤,它对我有用。
打开 Reporting Services 配置管理器 -> 然后连接到报表服务器实例 -> 然后单击报告管理器 URL。
在报表管理器URL页面中,点击高级按钮-> 然后在报表管理器的多个身份中,单击添加。
在“添加报表管理器 HTTP URL”弹出框中,选择“主机标头”并输入:localhost
单击“确定”保存更改。
然后:
它在 Internet Explorer 和 Google Chrome 上运行良好,但不适用于 mozilla Firefox。
如果 Firefox 要求提供用户名和密码,我会提供它,但它不起作用。 我是管理员,拥有完全的权利。
我又做了 1 项更改,将“用户帐户控制设置”设置为从不通知。
如果您在从 Visual Studio 部署此报表时遇到此类异常,请执行以下操作:
3.单击“新角色分配”添加,然后输入用户名并选择角色
.
I have used following steps and it is working for me.
Open Reporting Services Configuration Manager -> then connect to the report server instance -> then click on Report Manager URL.
In the Report Manager URL page, click the Advanced button -> then in the Multiple Identities for Report Manager, click Add.
In the Add a Report Manager HTTP URL popup box, select Host Header and type in: localhost
Click OK to save your changes.
Then:
it is working fine for me on Internet Explorer and Google Chrome but not for mozilla Firefox.
In case of Firefox asking for username and Password I am providing it but it is not working. I am admin and have full right.
I have done 1 more change set "User Account Control Settings" to never notify.
If you are getting such type of exception while deploying this report from Visual Studio then do the following things:
3.Click on "New Role Assignment" add the then enter the user name and select the Roles
.
您还可以确保应用程序池中的身份具有正确的权限。
转至 IIS 管理器
单击“应用程序池”
识别要在其上部署报告的站点的应用程序池
检查身份是否设置为某个服务帐户或具有管理员权限的用户帐户
您可以通过停止池、右键单击它并选择高级设置...来更改身份
来 更改身份。流程模型是身份字段
You can also make sure that the Identity in your Application Pool has the right permissions.
Go to IIS Manager
Click Application pools
Identify the application pool of the site you are deploying reports on
Check that the identity is set to some service account or user account that has admin permissions
You can change the identity by stopping the pool, right clicking it, and selecting Advanced Settings...
Under Process Model is the Identity field
这是因为您运行报表生成器的用户缺乏权限,只需授予该用户或组运行报表生成器的权限即可。
请访问这篇文章
或获取快捷方式:
It's because of lack of privilege for the user you are running the report builder, just give that user or a group a privilege to run report builder.
Please visit this article
Or for shortcut:
我知道这已经是很久以前的事了,但您(或任何其他新来者)可以通过
I know it's for a long time ago but you (or any other new comers) can resolve this issue by
右键单击 Microsoft BI -> 单击以管理员身份运行-> 打开现有的 SSRS 报告或创建新的 SSRS 报告,然后部署您的报告,完成后您将收到一个用于查看报告的 Web URL。 复制该 URL 并粘贴到 Web 浏览器(以管理员身份运行),您将获得报告视图。
你可以使用Internet Explorer,这对于网络服务来说是必不可少的。
如果这是错误的意思,请原谅我,因为我确实喜欢这样,所以我才写的。
Right Click Microsoft BI -> Click Run as Administrator -> either open your existing SSRS report or create your new SSRS report and then deploy your report after that complied you will be received one web URL for to view your report. Copy that URL and paste to web browser(Run as Administrator) and you will get your report view.
You could use Internet Explorer, which would be essential for web service
If it is wrong means,Please forgive me since i did like this so that i just written.
确保您有权使用 SQL Reporting Services 配置配置对 URL http://localhost/reports 的访问权限。 为此:
(注意:如果您在 http://localhost/reports 这可能是因为您没有以管理员身份运行 IE,或者您没有将计算机“域\用户名”分配给报告服务角色,请在接下来的几个步骤中了解如何执行此操作。)
只是为了让您知道本教程是在装有 SQL Server Reporting Services 2008 的 Windows 7 计算机上完成的。
参考文章:http://techasp.blogspot.co.uk/2013/06/how-to-fix-报告服务.html
Make sure you have access configured to the URL http://localhost/reports using the SQL Reporting Services Configuration. To do this:
(NOTE: If you don't see the 'Site Settings' link in the top left corner while at http://localhost/reports it is probably because you aren't running IE as an Administator or you haven't assigned your computers 'domain\username' to the reporting services roles, see how to do this in the next few steps.)
Just to let you know this tutorial was done on a Windows 7 computer with SQL Server Reporting Services 2008.
Reference Article: http://techasp.blogspot.co.uk/2013/06/how-to-fix-reporting-services.html