Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Help!  Permissions problem running a report from a web app.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
B. Chernick - 09 Feb 2008 15:39 GMT
I've never done this before.  I have an ASP.Net 2.0 app running on an
internal server (no special permissions, wide open access within our
intranet.)  I added a page with a report viewer control.  The published
report itself runs fine when called through the Reporting Services
Folder.aspx.  It also runs fine if I run the web app on my own machine in VS.


If I try to run the web app on the server and call the report, I get this
error:  The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are
insufficient for performing this operation. (rsAccessDenied)

I have been googling this problem and trying various solutions (adding
Network Service to groups, adding roles through the RS utility, etc)  but so
far no luck.  

Any suggestions?
B. Chernick - 09 Feb 2008 21:49 GMT
Once again, my apologies for perhaps posting a little too soon.  As I said,
I've never called a report from a web app before and its been a while since
I've done anything with Reporting Services.  

I added this to the web.config and everything works now.  This is probably a
good enough solution for now.

<identity impersonate="true"/>
   <authorization>
       <deny users="?"/>
       <allow users="*"/>
    </authorization>

(But feel free to comment.  I still need read up a bit.)

> I've never done this before.  I have an ASP.Net 2.0 app running on an
> internal server (no special permissions, wide open access within our
[quoted text clipped - 12 lines]
>
> Any suggestions?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.