title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom | helpviewer_keywords |
---|---|---|---|---|---|---|---|---|---|
rsAccessedDenied — Reporting Services Error |
In this error reference, learn about ‘rsAccessedDenied’: The permissions granted to user ‘mydomainmyAccount’ are insufficient for performing this operation. |
maggiesMSFT |
maggies |
05/22/2019 |
reporting-services |
troubleshooting |
conceptual |
updatefrequency5 |
rsAccessDenied error |
rsAccessedDenied — Reporting Services error
The [!INCLUDEssRSnoversion] error rsAccessedDenied occurs when a user does not have permission to perform an action. For example, they don’t have a role assignment that allows them to open a report, or they didn’t open their browser with the required permissions.
[!INCLUDEapplies] [!INCLUDEssRSnoversion] Native mode | SharePoint mode |
-
If the error occurred while accessing the report server directly through a URL, the exception is mapped to an HTTP 401 error.
-
If the error occurred while using the web portal, the exception is typically mapped to an HTTP 401 error, or other defined HTML error page.
-
If the error occurred during a scheduled operation, subscription, or delivery, the error will appear in the report server log file only.
Details
Detail | Value |
---|---|
Product Name | [!INCLUDEssNoVersion] |
Event ID | rsAccessedDenied |
Event Source | Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings |
Component | [!INCLUDEssRSnoversion] |
Message Text | The permissions granted to user ‘mydomainmyAccount’ are insufficient for performing this operation. (rsAccessDenied) (ReportingServicesLibrary) |
User action
Permission to access report server content and operations are granted through role assignments. On a new installation, only local administrators have access to a report server. To grant access to other users, a local administrator must create a role assignment that specifies a domain user or group account, one or more roles that define the tasks the user can perform, and a scope (usually the Home folder or root node of the report server folder hierarchy). You can use the web portal to create role assignments. For more information, see Role Assignments
.
This error is also caused by local administration of the report server. For more information, see Configure a Native Mode Report Server for Local Administration (SSRS).
See also
Role Assignments
Granting Permissions on a Native Mode Report Server
Roles and Permissions (Reporting Services)
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.
public class ReportServerCredentials : IReportServerCredentials
{
#region Class Members
private string username;
private string password;
private string domain;
#endregion
#region Constructor
public ReportServerCredentials()
{}
public ReportServerCredentials(string username)
{
this.Username = username;
}
public ReportServerCredentials(string username, string password)
{
this.Username = username;
this.Password = password;
}
public ReportServerCredentials(string username, string password, string domain)
{
this.Username = username;
this.Password = password;
this.Domain = domain;
}
#endregion
#region Properties
public string Username
{
get { return this.username; }
set { this.username = value; }
}
public string Password
{
get { return this.password; }
set { this.password = value; }
}
public string Domain
{
get { return this.domain; }
set { this.domain = value; }
}
public WindowsIdentity ImpersonationUser
{
get { return null; }
}
public ICredentials NetworkCredentials
{
get
{
return new NetworkCredential(Username, Password, Domain);
}
}
#endregion
bool IReportServerCredentials.GetFormsCredentials(out System.Net.Cookie authCookie, out string userName, out string password, out string authority)
{
authCookie = null;
userName = password = authority = null;
return false;
}
}
while calling SSRS Reprots, put following piece of code
ReportViewer rptViewer = new ReportViewer();
string RptUserName = Convert.ToString(ConfigurationManager.AppSettings["SSRSReportUser"]);
string RptUserPassword = Convert.ToString(ConfigurationManager.AppSettings["SSRSReportUserPassword"]);
string RptUserDomain = Convert.ToString(ConfigurationManager.AppSettings["SSRSReportUserDomain"]);
string SSRSReportURL = Convert.ToString(ConfigurationManager.AppSettings["SSRSReportURL"]);
string SSRSReportFolder = Convert.ToString(ConfigurationManager.AppSettings["SSRSReportFolder"]);
IReportServerCredentials reportCredentials = new ReportServerCredentials(RptUserName, RptUserPassword, RptUserDomain);
rptViewer.ServerReport.ReportServerCredentials = reportCredentials;
rptViewer.ServerReport.ReportServerUrl = new Uri(SSRSReportURL);
SSRSReportUser,SSRSReportUserPassword,SSRSReportUserDomain,SSRSReportFolder are defined in web.config files.
- Remove From My Forums
-
Question
-
I am an administrator on our Reporting services 2012 server. And I assume a member of BUILTIN/Administrators in RS.
I can access the reporting service url but I cannot deploy projects or reports or data sources.
I get the message in title.
win server 2012, sql server 2012
Answers
-
Resolution.
I now just have to work out how to set up Data Tools to always open with elevated permissions.
Thanks to Qiuyun for pointing me in the right direction.
If you installed SQL Server Data Tools — Business Intelligence for Visual Studio 2012 on one of the operating systems listed in the first section of this topic, and you want SSDT to interact with
a local Native mode report server, you will experiences permission errors unless you open SQL Server Data Tools (SSDT) with elevated permissions or configure reporting services roles. For example, if you do not have sufficient permissions, you experience issues
similar to the following:-
When you attempt to deploy report items to the local report server, you see an error message similar to the following in the Error List window:
-
The permissions granted to user ‘Domain<user name>’ are insufficient for performing this operation.
-
To run with elevated permissions each time you open SSDT:
-
From the start screen, type sql server and then right-click SQL Server Data Tools for Visual Studio. Click Run
as administratorOr, on older operating systems:
From the Start menu, click All Programs, click SQL Server 2014, right-click SQL
Server Data Tools, and then click Run as administrator. -
Click Continue.
-
Click Run Program.
You should now be able to deploy reports and other items to a local report server.
To configure Reporting Services role assignments so you do not need to start SSDT with elevated permissions each time:
-
Edited by
Friday, August 14, 2015 2:43 AM
-
Marked as answer by
ghw123
Friday, August 14, 2015 2:43 AM
-
Great, this finally fixed my problem after a few hours of searching. Pretty incredible that when you install SSRS 2008 from scratch, one has to do all of this when I installed SQL 2008 with an admin account. |
Francis, I agree, setting up SSRS could and should be much easier… I can’t tell you how much time I’ve spent just trying to get Reporting Services to run correctly. It’s nice once it’s working for you, but getting it setup properly is a huge pain. |
Thanks. Fixed my problem. |
i don’t see the properties part in the report manager page. it’s all blank underneath home. how would you make it show up? i just installed it in windows 7 with SQL Server 2008 |
@james I think you are using Firefox.or any browser which is not related with Microsoft. Use IE it will be solved..I think it will help you..Thank you |
@james @doug |
great solution..now I can deploy my report to Report server. |
Awesome. Your detailed steps solved the problem. thanks |
Really Great User Guide..!! Thanks for your work done man.. |
Thanks. Nice, simply, precise solving. |
Thanks a lot. It fixed the problem. |
Hi will this fix work if my 2008 Report server is in SharePoint Integrated mode? |
Thanks Doug.. |
Thank you , it worked |
I am using SQL treporting under sharepoint hence it is in sharepoint 2010 integrated mode, when i go to the report URL http://localhost/Reports/Pages/Folder.aspx , i get This operation is not supported on a report server that is configured to run in SharePoint integrated mode. (rsOperationNotSupportedSharePointMode) Get Online Help Please guide |
Thank you, this helped me a lot! |
It’s not working,giving the same error again. |
I tried this, but it didn’t work. Probably because, in our case, we migrated our report server from 32 bit Windows Server 2003 to 64 bit Windows 2008 r2 standard. I was very hopefull and have added all the roles for my account and still no good. |
Oops, forgot to mention it also went from SQL 2005 to 2008 r2. |
SQL Server 2008 R2. This is killing me. The only thing that doesn’t work for me is remote access to the report server. I’ve been looking for answers on this since yesterday. I wish I would get an error message or something, anything, any info. Just says IE cannot display the webpage. over and over and over again. I can access it on the actual server and I’ve followed every tip and instruction I can find on users/groups. I’m at a loss right now. The port is open and listening… ARRRGGHHA!!1 |
Thanks for that, I’d set the overall site settings but I must have created my report folder first so it only had the BUILTIN/Administrators group assigned, adding the correct group to the Folder Settings sorted this problem. |
Thnx so much ..its worth |
Thank You! I am using SQL Server 2008 R2. The New Role Assignment was under «Folder Settings» in the Home page (as oposed to the Properties tab). |
Great,I’ve been trying to get it fixed for 3 days and now i’ve managed to do it.Many thanks |
Thanks,I Had been trying the same from last 2 days.. |
thanks for your article…i had a hard time figurin out why my reports are not deploying…your’s article resolved my problem….. |
Out of all the multiple social.msdn links that show up in google for this issue, yours was the only one that worked! Thanks so much! |
@Matty G — Glad to hear this was the article that got things working for you! |
Thanks. This saved my ass after my boss asked me to investigate other options than Crystal reports. None of the MSDN links have a good Step-by-step tutorial like yours. |
Many thanks for your tutorial that resolves |
Very Helpful!!!!!!!!!!!!!!!!!! Thanks for your help in posting |
Hi Doug, Thanks a lot. Very helpful user guide. It’s working. |
thank you a lot it was driving me crazy and now it is solved. |
thank you so much.. it resolved my issue. |
Thanks a lot!!! It worked fine for me from your recommendations.. |
Your post was very helpful. I fixed the issue in few minutes. Thanks a lot!! |
**************** If you do NOT see the «site settings» on report manager page, refer to the following link ********** |
Thank you very much,it helps a lot. |
much helplful, thanks!!! |
Thanks for the help |
Thanks! I was sick of configuring things trying to do this |
Thanks a bunch; you just helped me a lot! Grtz |
Thank you for sharing your knowledge. Many thanks and regards. |
great man !!! solved my problem |
very very usefull sir thanks |
I have done all the steps mentioned by you… Please help… |
nice post |
thanx |
Thanks a ton |
Many many thanks |
Great work!!! Thank mate |
Thank you for the step by step instructions. Installed to SQL 2012 with VS 2010. Screen shots are a bit different, but once I gained access using IE running as administrator, I was able to add my local admin account with full privileges. I can now access with Chrome. |
Thanks man…. |
Your details explanation to solve the issue helped a lot and resolved the issue |
It is very helpful article. I got resolved my issue. Thanks for the help. |
Thanks for the step by step instruction. |
Awesome…thanks a lot…. |
You sir, rock! Thanks for taking the time to post such detailed steps. btw, on step 5, I had to click Folder Settings rather than Properties. |
you’re awesome! this resolved my issue! |
you’re a life saver… |
Good, finally i was able to solve my report publishing issue |
I followed all the steps in this tutorial (amazing, thanks), but when I go to Visual Studio-> right click, Deploy, always appear the popup window with username and password. I use the correct account name (the same as I configured in previous step), but I can’t deploy the report, always show the same error Any idea? Thanks, |
Helpful article. I got my problem fixed following he steps . |
Even having been through SSRS configuration a number of times, I still need to Google this stuff. Thanks for the posting, I think the key thing is that it seems to be the individual user that needs to have access. Just being a member of a group that has the role defined doesn’t necessarily seem to cut it. Either way, the steps worked for me this time… |
I agree with Paul, it does not work if you try and use a security group from your windows AD. I had to enter each person individually. This became an issue when moving SSRS from a Windows 2008 standard server to a Windows 2008 R2 64 bit server. Don’t know if it is related but that is the only difference. |
Excellent article. Fixed me right up. For once it was nice to have to dig through a ton of documents to the answer I needed. |
I have windows 8.1 and I can’t follow this … Please help with a fix in Windows 8.1? |
Hello Doug, Often webpages i come across ask me to make some config changes from Report Manager web interface (which i can not open) and this tutorial/steps is the best i’ve found, but I can go so far as 2nd step only. The browser doesn’t redirect as mentioned on the steps. Additional Info — Service Account (in Configuration Manager) -> Use built in account -> ReportServer$SQLEXPRESS Web Service URL (Virtual Dir): Report Manager URL: |
Great Work |
Worked Great! Now I got the next error when I try to connect. sql server express 2014 ssrs report «A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 — Could not open a connection to SQL Server)» |
Great! after 1 day of test and error! |
You Sir are a genius |
Great, Very nice solution for me ,Thank you ! |
My issue is that the SSRS is in a different domain and when I go to the reports web site, IE or any browser seems to be using my cashed credentials, so I get that error msg listed in this article, so how do you get SSRS to prompt you instead of just using my current log in? Surprise no one has brought that up in this thread… I’m logged into domain X, domain Y has my SSRS server. But every time I go to SSRS website in domain Y, it errors out and says user in X doesn’t have permission. I want it to prompt for a user name so i can use my Y domain user. Domain X and Y do not have a trust and are completely separated. |
You are Great!That solved my problems.Thanks a lot! |
It helps me a lot. Thank you |
Thanks for the help. |
Still works on SQL2012 |
Thank you. This helped to solve my problem. |
This still work in SQL2014. |
Thank you very much!. After many hours of searching and frustration, I was be able to use your information to fix my issue as well as better understand why the problem was happening-not having the right permission. Thanks |
Thanks. |
Thanks Guy! |
many thanks to you !!!!! But i don’t thank microsoft at all ! So many hours spent for this problem never documented by micro$oft ! |
Thank you! I have been trying to get report server working from long time.. |
Thanks, excellent |
Thanks it worked for me |
I know this is really old and if anyone is still using SharePoint 2010 with SQL(SSRS) 2008R2, I feel for you but just in case, I found that the fact that my datasource, RSDS file, not being approved was causing users with Read permission to the report and data connection library was the reason for the same error. |
Well I am running Windows 11 and Internet Explorer is not available it is replaced by Edge. The fix above doesn’t work in Windows 11 so how to get access to Reporting Services on Windows 11 is unclear… |
- Remove From My Forums
-
Question
-
Hi everyone,
I installed Windows 7 ultimate and use reporting service 2008 .
i create a report when i try to deploy it i get this Reporting Services Error:Error rsAccessDenied : The permissions granted to user ‘Toma-PCToma’ are insufficient for performing this operation.
and when i open http://localhost/Reports/Pages/Folder.aspx i found that there is no «Content» or «Properties» Tab
how can i deploy this report and why the 2 tabs not exist
plzzzzzzzzzz any one help me
fatma
fatma mohamed
Answers
-
Hi,
Try to run the BIDS under Administrator account. By default, Windows 7 uses adminitrator account for SQL installation and local account for running BIDS. By default, Reporting Services would grant local administrator as SQL admin, but your local account wouldn’t. So you haven’t privilege to depoly the reports.
Thanks.
Yao Jie Tang -Microsoft Online Community
-
Marked as answer by
Wednesday, February 3, 2010 2:37 AM
-
Marked as answer by
-
Go to All Programs -> Microsoft Sql server 2008 -> Micrsoft BIDS
Right Click and Run it as Administrator. and see if it works.
~~ Mark it as Answer if you find it correct~~
-
Marked as answer by
fatma2
Wednesday, February 3, 2010 9:11 PM
-
Marked as answer by
-
Ok I finally found a solution
instead of accessing Report Manager with http://localhost/Reports i moved to http://[MachineName]/Reports and added this URL to trusted web sites on IE…
He always asking to fill username and password but this is working fine.Try the same fatma2 i am sure this will be ok after that !
Stephan
-
Proposed as answer by
Stéphane Guilleminot
Friday, January 22, 2010 4:10 PM -
Marked as answer by
Tony Tang_YJ
Wednesday, February 3, 2010 2:37 AM
-
Proposed as answer by