Меню

Ошибка служб reporting services rsaccessdenied

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.

title description ms.date ms.service ms.subservice ms.topic helpviewer_keywords ms.assetid author ms.author

rsAccessedDenied — Reporting Services Error | Microsoft Docs

In this error reference, learn about ‘rsAccessedDenied’: The permissions granted to user ‘mydomainmyAccount’ are insufficient for performing this operation.

05/22/2019

reporting-services

troubleshooting

conceptual

rsAccessDenied error

2f76b1bf-96a2-4755-b76b-84e933220efc

maggiesMSFT

maggies

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)

  • Remove From My Forums

 locked

SQL Server Express 2008 Reporting Services — rsAccessDenied error

  • Question

  • I’ve read through a lot of posts regarding the problem, but none of the proposed solutions have worked for me. I continue to get an error stating, «The permissions granted to user ‘<servername>Rich’ are insufficient for performing this operation. (rsAccessDenied).» If I am logged in as the local administrator account, entering the Reporting Services URL in IE doesn’t give me that error, but it takes me to a blank page. I haven’t been able to get to a SSRS home page at all.

    Order of operations:

    1. I installed and patched Windows 7 Ultimate 64-bit
    2. I installed SQL Server Express 2008 with Advanced Services using the MS web installer.
    3. I downloaded and installed SP1 for SQL Server Express 2008.
    4. Opened up an instance of IE and tried to go to http://<servername>/Reports, receiving the above error. Well, technically I first tried /ReportServer_SQLExpress as reflected in the SSRS configuration manager, but that didn’t work, either. I then changed the Web Service URL to use the virtual directory, «Reports» instead of the longer ReportServer_SQLExpress. It didn’t work either way.

    I’ve tried running IE as administrator, adding local machine to trusted sites, and just about every other suggestion I’ve found. I even ran the entire installation logged in as the local administrator. Nothing seems to work. Could someone please tell me, considering the above installation process, what I should expect to have to do after installation to make this work?

anonymous by Francis on 8/15/2010

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.

Doug by Doug on 8/15/2010

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.

anonymous by Freese on 8/25/2010

Thanks. Fixed my problem.

anonymous by james on 10/13/2010

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

anonymous by Anonymous on 11/15/2010

@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

anonymous by Mr Mostard on 1/4/2011

@james
In my case the button is called «Folder Settings» instead of «Properties» (SQL 2008R2).

@doug
Thanks, this one saves me a couple of hours! 🙂

anonymous by jack on 1/27/2011

great solution..now I can deploy my report to Report server.
thanks

anonymous by frinkfree on 2/25/2011

Awesome. Your detailed steps solved the problem. thanks

anonymous by Madhu on 6/10/2011

Really Great User Guide..!!

Thanks for your work done man..

anonymous by Jacek on 6/21/2011

Thanks. Nice, simply, precise solving.

anonymous by Kathy on 7/21/2011

Thanks a lot. It fixed the problem.

anonymous by Lenrog on 7/27/2011

Hi will this fix work if my 2008 Report server is in SharePoint Integrated mode?

anonymous by Andy on 8/29/2011

Thanks Doug..

anonymous by Sudheshna Koroth on 9/2/2011

Thank you , it worked

anonymous by Moazzam on 9/20/2011

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

anonymous by Mortaza on 2/8/2012

Thank you, this helped me a lot!

anonymous by Mansvi on 2/9/2012

It’s not working,giving the same error again.

I am working on Windows XP computer with SQL Server Reporting Services 2005.

Please help.

Thanks In Advance

anonymous by Austin on 2/21/2012

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.

anonymous by austin on 2/21/2012

Oops, forgot to mention it also went from SQL 2005 to 2008 r2.

anonymous by rob on 3/23/2012

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

anonymous by daleofcourse on 4/18/2012

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.

anonymous by Satty on 5/14/2012

Thnx so much ..its worth

anonymous by Ernst on 5/23/2012

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).

anonymous by Yousef on 6/9/2012

Great,I’ve been trying to get it fixed for 3 days and now i’ve managed to do it.Many thanks

anonymous by Rupesh on 6/17/2012

Thanks,I Had been trying the same from last 2 days..

anonymous by puneet on 6/20/2012

thanks for your article…i had a hard time figurin out why my reports are not deploying…your’s article resolved my problem…..

anonymous by Matty G on 6/28/2012

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!

Doug by Doug on 6/28/2012

@Matty G — Glad to hear this was the article that got things working for you!

anonymous by Guillaume on 7/11/2012

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.

anonymous by fiylm on 7/26/2012

Many thanks for your tutorial that resolves

anonymous by Raja on 8/3/2012

Very Helpful!!!!!!!!!!!!!!!!!! Thanks for your help in posting

anonymous by Han on 8/10/2012

Hi Doug,

Thanks a lot. Very helpful user guide. It’s working.

anonymous by mahmoud on 8/11/2012

thank you a lot it was driving me crazy and now it is solved.

anonymous by Anonymous on 8/29/2012

thank you so much.. it resolved my issue.

anonymous by Manoj on 9/7/2012

Thanks a lot!!! It worked fine for me from your recommendations..

anonymous by Komala Sampathkumar on 10/17/2012

Your post was very helpful. I fixed the issue in few minutes. Thanks a lot!!

anonymous by Anonym1 on 10/18/2012

**************** If you do NOT see the «site settings» on report manager page, refer to the following link **********
http://blog.davyknuysen.be/2009/09/11/administrator-has-no-access-to-the-report-manager-sql2008-r2-and-windows7vista/

anonymous by Unknown on 10/19/2012

Thank you very much,it helps a lot.

anonymous by Tony Rodriguez on 10/30/2012

much helplful, thanks!!!

anonymous by Jolande on 11/13/2012

Thanks for the help

anonymous by link01 on 11/15/2012

Thanks! I was sick of configuring things trying to do this

anonymous by M. Scholten on 11/25/2012

Thanks a bunch; you just helped me a lot!

Grtz

anonymous by Ed on 11/29/2012

Thank you for sharing your knowledge. Many thanks and regards.

anonymous by Asad on 11/29/2012

great man !!! solved my problem

anonymous by SOMEONE on 2/1/2013

very very usefull sir thanks

anonymous by Aman Gupta on 2/6/2013

I have done all the steps mentioned by you…
But reports are running from Administrator account only not from other users…

Please help…

anonymous by sai ram on 2/14/2013

nice post

anonymous by pp on 3/6/2013

thanx

anonymous by Indrashish Saha on 3/14/2013

Thanks a ton

anonymous by trl on 3/14/2013

Many many thanks

anonymous by Adnan on 3/21/2013

Great work!!! Thank mate

anonymous by wsocha on 3/27/2013

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.

anonymous by Ani on 4/4/2013

Thanks man….

anonymous by Nadhamuni Pedisetty on 5/2/2013

Your details explanation to solve the issue helped a lot and resolved the issue
Thanks

anonymous by Rajeev Kumar on 5/28/2013

It is very helpful article. I got resolved my issue. Thanks for the help. 🙂

anonymous by Hartmut on 6/11/2013

Thanks for the step by step instruction.

anonymous by Harish on 6/15/2013

Awesome…thanks a lot….
After 2 weeks googling , finally i am able to configure report server on my local machine or personal laptop you can say…
but this applicable for IE not for google chrome
THANKS A LOT……BIG HUG 🙂 🙂

anonymous by Simon Kingston on 6/20/2013

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.

anonymous by Lucy on 6/26/2013

you’re awesome! this resolved my issue!
thank you!!

anonymous by Gregor on 8/21/2013

you’re a life saver…

anonymous by Roji on 9/21/2013

Good, finally i was able to solve my report publishing issue

anonymous by Manolo on 10/3/2013

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,

anonymous by Prashant T on 11/19/2013

Helpful article. I got my problem fixed following he steps .
Thanks..

anonymous by Paul on 11/29/2013

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…

anonymous by Doug on 1/14/2014

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.

anonymous by Jeff on 1/14/2014

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.

anonymous by Ellen on 1/30/2014

I have windows 8.1 and I can’t follow this … Please help with a fix in Windows 8.1?

anonymous by Nishant on 2/24/2014

Hello Doug,
i’ve been trying to resolve this problem for over 1 week now (more than 60 hours) and havent been able to proceed any further.

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 —
BIDS for report,
SQL Server 2012

Service Account (in Configuration Manager) -> Use built in account -> ReportServer$SQLEXPRESS

Web Service URL (Virtual Dir):
ReportServer_SQLEXPRESS

Report Manager URL:
http://user-pc/Reports_SQLEXPRESS
http://localhost:80/Reports_SQLEXPRESS

anonymous by Vikas on 2/25/2014

Great Work
It solve problem

anonymous by Cloudsion on 5/14/2014

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)»

anonymous by Hugo on 6/10/2014

Great! after 1 day of test and error!
The problem was for localhost!!!

anonymous by Thank you on 7/26/2014

You Sir are a genius

anonymous by Ashok Kumar on 8/4/2014

Great, Very nice solution for me ,Thank you !

anonymous by Jaysys on 10/2/2014

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.

anonymous by Krishna on 1/24/2015

You are Great!That solved my problems.Thanks a lot!

anonymous by Marius on 5/12/2015

It helps me a lot. Thank you

anonymous by David on 6/24/2015

Thanks for the help.

anonymous by Stig on 7/27/2015

Still works on SQL2012 🙂 Thanks, and thanks for the comments also, those actually helped understanding also 🙂

anonymous by killi on 8/18/2015

Thank you. This helped to solve my problem.

anonymous by piccolo on 4/30/2016

This still work in SQL2014.
Thanks a lot. I have been fighting this silly issue for days…

anonymous by YJobira on 5/17/2016

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

anonymous by hang on 8/11/2016

Thanks.

anonymous by Guillaume on 9/15/2016

Thanks Guy!
That solved my problem after searching many hours on Microsoft Helps!

anonymous by MrBoulier on 7/15/2017

many thanks to you !!!!! But i don’t thank microsoft at all ! So many hours spent for this problem never documented by micro$oft !

anonymous by Ultra on 7/10/2018

Thank you! I have been trying to get report server working from long time..

anonymous by CITG on 8/8/2019

Thanks, excellent

anonymous by RA_T on 3/10/2022

Thanks it worked for me

anonymous by N03L on 7/21/2022

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.
Approving the RSDS file solved the users issue.

anonymous by Tod on 12/21/2022

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…

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.

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.

Вопрос:

Я создал модель отчета с использованием SSRS (2005) и опубликовал ее на локальном сервере. Но когда я попытался запустить отчет для модели, опубликованной с использованием построителя отчетов, я получаю следующую ошибку.

Ошибка выполнения отчета. Разрешений, предоставленных пользователю, недостаточно для выполнения этой операции. (rsAccessDenied)

Ответ №1

Это из-за отсутствия привилегий для пользователя, у которого работает построитель отчетов, просто дайте этому пользователю или группе привилегию запускать построитель отчетов.
Пожалуйста, посетите этот article

Или для быстрого доступа:

  • Запустите Internet Explorer с помощью команды “Запуск от имени администратора”
  • Откройте http://localhost/reports
  • Перейдите на вкладку свойств (SSRS 2008).
  • Безопасность- > Назначение новых ролей
  • Добавьте DOMAIN/USERNAME или DOMAIN/USERGROUP
  • Проверить построитель отчетов

Ответ №2

Я знаю это давно, но вы (или любые другие новые пользователи) можете решить эту проблему с помощью

  • Добавьте [DomainUser] в Администратор, IISUser, SQLReportingUser.
  • Удалить ключ шифрования в инструментах конфигурации SSRS
  • Перезапустите Изменение базы данных в инструментах настройки SSRS
  • Откройте WebServiceUrl из инструментов настройки SSRS (http://localhost/reportserver)
  • создание отчетов Папка вручную
  • перейдите в “Свойства созданной папки” и добавьте эти роли в систему безопасности (встроенныйпользователь, встроенныйадминистратор, доменпользователь)
  • Развернуть ваши отчеты и решить вашу проблему.

Ответ №3

Щелкните правой кнопкой мыши Microsoft BI → Нажмите “Запуск от имени администратора” → либо откройте существующий отчет SSRS, либо создайте новый отчет SSRS, а затем разверните свой отчет после того, как он будет выполнен, и вы получите один веб-URL для просмотра вашего отчета. Скопируйте этот URL-адрес и вставьте его в веб-браузер (Запуск от имени администратора), и вы получите представление своего отчета.
Вы можете использовать Internet Explorer, который будет необходим для веб-сервиса

Если это неправильно, пожалуйста, простите меня, так как я сделал это так, чтобы я только что написал.

Ответ №4

Убедитесь, что у вас есть доступ к URL http://localhost/reports с помощью конфигурации служб SQL Reporting Services. Для этого:

  • Откройте диспетчер конфигурации служб отчетов → затем подключитесь к экземпляру сервера отчетов → , затем щелкните URL-адрес диспетчера отчетов.
  • На странице URL-адреса диспетчера отчетов нажмите кнопку “Дополнительно” → , затем в “Несколько идентификаторов для диспетчера отчетов” нажмите “Добавить”.
  • В раскрывающемся окне Добавить URL-адрес диспетчера отчетов выберите заголовок узла и введите: localhost
  • Нажмите “ОК”, чтобы сохранить изменения.
  • Теперь запустите/запустите Internet Explorer с помощью Run as Administator…
    (ПРИМЕЧАНИЕ. Если вы не видите ссылку “Настройки сайта” в верхнем левом углу, а http://localhost/reports, это, вероятно, потому, что вы aren “запуск IE в качестве администратора или вы не назначили домен ваших компьютеровимя пользователя” для ролей служб отчетов, см., как это сделать в следующих нескольких шагах.)
  • Затем перейдите к: http://localhost/reports (вам, возможно, придется входить в систему с вашим именем пользователя и паролем компьютера)
  • Теперь вы должны перейти на главную страницу служб отчетов SQL Server: http://localhost/Reports/Pages/Folder.aspx
  • Находясь на домашней странице, откройте вкладку “Свойства” и нажмите “Назначение новой роли”
  • В текстовом поле “Группа или имя пользователя” добавьте “domainusername”, которое было в сообщении об ошибке (в моем случае я добавил: DOUGDELL3-PCDOUGDELL3 для “domainusername”, в вашем случае вы можете найдите доменимя пользователя для своего компьютера в сообщении об ошибке rsAccessDenied).
  • Теперь отметьте все флажки; Браузер, Контент-менеджер, Мои отчеты, Издатель, построитель отчетов и нажмите кнопку ОК.
  • Теперь имя домена username должно быть назначено Ролям, которые предоставят вам доступ к развертыванию отчетов на сервере отчетов. Если вы используете Visual Studio или SQL Server Business Intelligence Development Studio для развертывания отчетов на локальном сервере отчетов, вы должны теперь иметь возможность.
  • Надеюсь, это поможет вам решить сообщение об ошибке rsAccessDenied сервера отчетов…

Просто чтобы вы знали, что это руководство было сделано на компьютере под управлением Windows 7 с SQL Server Reporting Services 2008.

Ссылка: http://techasp.blogspot.co.uk/2013/06/how-to-fix-reporting-services.html

Ответ №5

в разделе Настройка сайта в диспетчере отчетов > Настроить определения ролей на системном уровне > проверить параметр ExecuteReport Defination
тогда
Создание системной пользовательской группы, предоставление доступа к этой группе в
Подключитесь к базе данных служб отчетов в свойствах сервера и добавьте группу и разрешите доступ как системный пользователь… Он должен работать

Ответ №6

У меня есть SQL2008/Windows 2008 Enterprise, и это то, что я должен был сделать, чтобы исправить ошибки rs.accessdenied, 404, 401 и 503:

  • Добавлены пользователи NT для пользователей отчетов SQL Server и IIS_USR Group
  • Я изменил службу SQL Reporting Service на локальную учетную запись (это был домен с локальным администратором).
  • Я удалил ключ шифрования в настройке служб Reporting Services (последняя вкладка в списке)
  • и ТОГДА это сработало.

Ответ №7

Вы также можете убедиться, что идентификатор в пуле приложений имеет правильные разрешения.

  • Перейдите в диспетчер IIS

  • Нажмите Пулы приложений

  • Определите пул приложений на сайте, на котором развертываются отчеты,

  • Убедитесь, что идентификатор установлен на какую-либо учетную запись службы или учетную запись пользователя с правами администратора.

  • Вы можете изменить идентификатор, остановив пул, щелкнув его правой кнопкой мыши и выбрав “Дополнительные настройки”…

В разделе “Модель процесса” указано поле “Идентификация”

Ответ №8

Старый, но актуальный вопрос. Я решил в 2012 году, войдя на сервер отчетов и:

  • перейти к http://localhost/reports/
  • Нажмите “Настройки сайта” в правом верхнем углу (доступно только при входе в сервер отчетов)
  • Перейдите на вкладку “Безопасность” и нажмите “Назначение новой роли”
  • Добавил мой DOMAINUSERNAME в качестве системного администратора

Не могу сказать, что мне нравится это решение, но мне нужно что-то, что сработало, и это сработало. Надеюсь, это поможет кому-то еще.

Ответ №9

Я использовал следующие шаги, и он работает для меня.

Откройте диспетчер конфигурации служб Reporting Services → затем подключитесь к экземпляру сервера отчетов → , затем щелкните URL-адрес диспетчера отчетов.

На странице URL-адреса диспетчера отчетов нажмите кнопку “Дополнительно” → , затем в “Несколько идентификаторов для диспетчера отчетов” нажмите “Добавить”.

В раскрывающемся окне Добавить URL-адрес диспетчера отчетов выберите заголовок узла и введите: localhost
Нажмите “ОК”, чтобы сохранить изменения.

Тогда:

  • скопировал URL-адрес сервера отчетов
  • Запустите Google chrome/Internet Explorer как администратор
  • Вставьте URL-адрес в адресную строку и нажмите клавишу ввода.

он отлично работает для меня в Internet Explorer и Google Chrome, но не для Mozilla Firefox.

В случае, если Firefox запрашивает имя пользователя и пароль, я предоставляю его, но он не работает. Я администратор и имею полное право.

Я сделал еще 1 набор изменений “Настройки управления учетными записями пользователей”, чтобы никогда не уведомлять.

Если вы получаете такой тип исключения при развертывании этого отчета из Visual Studio, выполните следующие действия:

  • Откройте Google Chrome/Internet Explorer с правами администратора.
  • открыть в нем URL сервера отчетов.

3.Нажмите “Назначение новой роли”, добавьте затем имя пользователя и выберите Роли
введите описание изображения здесь

  1. нажмите “ОК”.
  2. Теперь разверните отчет из Visual Studio, он будет работать и развертывать отчеты на указанном сервере.

Ответ №10

Проблема:

Ошибка rsAccessDenied: для выполнения этой операции недостаточно прав, предоставленных пользователю “ПользовательПользователь”.

Решение:

Нажмите “Настройка папки” > “Назначение новой роли”
Затем введите “ПользовательПользователь” в текстовом поле “Группа или имя пользователя”.
Установите флажки “Роли”, которые вы хотите, чтобы пользователь имел.

Ответ №11

Что для меня работало:

Open localhost/reports
Go to properties tab (SSRS 2008)
Security->New Role Assignment
Add DOMAIN/USERNAME or DOMAIN/USERGROUP
Check Report builder

Ответ №12

Это сработало для меня –
-go менеджеру отчетов, проверьте настройки сайта- > Безопасность → Назначение новой роли- > добавить пользователя

-Также перейдите к наборам данных в диспетчере отчетов → ваш набор данных отчета → Безопасность → Назначение новой роли → добавьте пользователя с требуемой ролью.

Спасибо!

Ответ №13

Как и Насер, я знаю, что это было недавно, но я хотел опубликовать свое решение для всех, у кого есть эта проблема в будущем.

У меня была настройка моего отчета, чтобы он использовал соединение с данными в библиотеке подключения к данным, размещенной в SharePoint. Моя проблема заключалась в том, что у меня не было утвержденного соединения для передачи данных, так что оно могло использоваться другими пользователями.

Еще одна вещь, которую нужно искать, – убедиться, что разрешения на эту библиотеку подключения к данным также позволяют читать избранным пользователям.

Надеюсь, что это рано или поздно поможет кому-то!

Ответ №14

Для SQL Reporting Services 2012 – SP1 и SharePoint 2013.

У меня такая же проблема:
Разрешений, предоставленных пользователю [AppPoolAccount], недостаточно для выполнения этой операции.

Я зашел в настройки приложения-службы, нажал кнопку “Управление ключами”, затем “Изменить” и обновил ключ.

Ответ №15

Откройте Internet Explorer как администратор.

Откройте отчет url http://machinename/reportservername

тогда в настройках “папки” дается разрешение на требуемые группы пользователей.

Ответ №16

Спасибо за совместное использование. После борьбы за 1,5 дня заметил, что сервер отчетов настроен с неправильным IP-адресом. Он был настроен с резервным доменным IP-адресом, который отключен. Я идентифицировал это в конфигурации группы пользователей, где имя домена не было указано. Изменен IP и перезагрузите сервер отчетов. Проблема решена.

Ответ №17

Я знаю это давно, но может быть полезен для любых других новых посетителей,

Я решил передать имя пользователя, пароль и домен при запросе отчетов SSRS, поэтому я создал один класс, который реализует 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;
}
}

при вызове SSRS Reprots, поставьте следующий фрагмент кода

 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 определены в файлах web.config.

Ответ №18

После настройки SSRS 2016 я RDP’d на сервер (Windows Server 2012 R2) перешел к URL-адресу отчетов (https://reports.fakeserver.net/Reports/browse/) и создал заголовок папки FakeFolder; все, казалось, работает нормально. Затем я отключился от сервера, просмотрел его на том же URL-адресе, зарегистрировался как один и тот же пользователь и обнаружил ошибку ниже.

Разрешения, предоставленные пользователю fakeservermitchs, недостаточны для выполнения этой операции.

Смущенный, я пробовал практически все решения, предлагаемые на этой странице, и не мог создать такое же поведение как локально, так и внешне при навигации по URL-адресу и аутентификации. Затем я щелкнул эллипсисом FakeFolder, нажал “Управление”, нажал “Безопасность” (в левой части экрана) и добавил себя как пользователь с полными разрешениями. После отключения от сервера я просмотрел https://reports.fakeserver.net/Reports/browse/FakeFolder и смог просмотреть содержимое папки, не сталкиваясь с ошибкой разрешений. Однако, когда я щелкнул по дому, я получил ошибку разрешений.

В моих целях это было достаточно хорошо, так как никакому другому не понадобится переходить к корневому URL-адресу, поэтому я просто сделал заметку, когда мне нужно внести изменения в SSRS, чтобы сначала подключиться к серверу, а затем перейти к URL-адрес отчетов.

Ответ №19

Что для меня работало:

  • Перейти к настройке сайта
  • Нажмите “Настроить безопасность сайта”
  • Нажмите кнопку “Назначение новой роли” в верхней строке.
  • Дайте новой роли следующее имя “Все”
  • Из доступных ролей предоставите только “Системный пользователь”
  • Нажмите “Применить”

Это должно сделать это,

Удачи!

Ответ №20

Запустите BIDS как администратор, несмотря на существующее членство в группе “Администраторы”.

  • 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

  • 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

  • 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

  • Remove From My Forums

 locked

Configuring Reporting Service Web Service URL — Receive the following error: are insufficient for performing this operation. (rsAccessDenied)

  • Question

  • I am trying to setup Reporting Services on a stand alone laptop.  After a successful install of SQL Server 2016 and Reporting Services, I receive the following error when I try to launch the Reporting Service Web Service URL for the first time:  The
    permissions granted to user ‘DOMAIN1cdinehart’ are insufficient for performing this operation. (rsAccessDenied).

    I don’t see a way to modify the permissions for the user cdinehart as this appears to be a Domain account and I am not connected to the domain.  Any guidance would be appreciated.

0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии

А вот еще интересные материалы:

  • Яшка сломя голову остановился исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного исправьте ошибки
  • Ясность цели позволяет целеустремленно добиваться намеченного где ошибка
  • Ошибка слоя доступа к данным при регистрации на площадке ртс
  • Ошибка слова синонимы к нему