Click here to Skip to main content
15,445,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
when I visit the web "http://localhost/",it shows me "The permissions granted to user 'NT AUTHORITY\IUSR' are insufficient for performing this operation. (rsAccessDenied) ??"
Do anybody know how to solve this problem?

HTML
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Microsoft.Reporting.WebForms.ReportServerException: The permissions granted to user 'NT AUTHORITY\IUSR' are insufficient for performing this operation. (rsAccessDenied)

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[ReportServerException: The permissions granted to user 'NT AUTHORITY\IUSR' are insufficient for performing this operation. (rsAccessDenied)]
   Microsoft.Reporting.WebForms.ServerReport.GetExecutionInfo() +295
   Microsoft.Reporting.WebForms.ServerReport.SetParameters(IEnumerable`1 parameters) +67
   WebApplication1._Default.Page_Load(Object sender, EventArgs e) in C:\Users\Administrator\Documents\Visual Studio 2008\Projects\teach pratise\WebApplication1\WebApplication1\Default.aspx.cs:30
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Posted

1 solution

Generally, the reason of the problem is that you haven't granted the access right to the machine account.

Try:
1. Go to the reports manager (http://servername/reports)
2. Switch to the property tab
3. Create a new group with name BUILTIN\Users.
4. In the role assignment tick browser role.

Alternatively, you can impersonate the request via a user that has the access permissions on the report server. (Set impersonation in Web.Config & remove anonymous access from IIS authentication tab)

So, either add the account that is trying to access report right now OR make a request of report via a user account that already has the permission.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900