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
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:
- I installed and patched Windows 7 Ultimate 64-bit
- I installed SQL Server Express 2008 with Advanced Services using the MS web installer.
- I downloaded and installed SP1 for SQL Server Express 2008.
- 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?
|
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 🙂 Thanks, and thanks for the comments also, those actually helped understanding also 🙂 |
|
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… |
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.Нажмите “Назначение новой роли”, добавьте затем имя пользователя и выберите Роли

- нажмите “ОК”.
- Теперь разверните отчет из 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
-
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
- Remove From My Forums
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.