Solved

Sql user canot use standard reports using MS SQL Management studio

Posted on 2013-06-20
6
1,379 Views
Last Modified: 2013-06-27
Hi!

A user using SQL authentication via MS SQL Management Studio would like to use some standard reports on some databases, however errors are returned.

e.g. All transactions report (the main one to be used) returns
"Unable to retrieve data for this report. Following error occurred.
Msg 297, Level 16, State 1
The user does not have permission to perform this action"

(The same happens if I connect using this authentication, however all works if I use my Windows Authentication)

I cannot identify needed permission.

Addition background:
server: MS SQL Server Developer Edition x64 2008 R2
OS: Windows 2008 R2 Enterprise edition x64

The sql user used to get the report is the owner of the database


Cheers, Damjan
0
Comment
Question by:DamjanDemsar
  • 4
  • 2
6 Comments
 
LVL 11

Accepted Solution

by:
Louis01 earned 500 total points
Comment Utility
Login to http://localhost/Reports
Give permission to reports there
0
 
LVL 5

Author Comment

by:DamjanDemsar
Comment Utility
Hmm, progress

It seems that I do not have permissions (however my username is both OS and SQL server administrator)

what permissions do I need, or how to check who has them?
0
 
LVL 11

Expert Comment

by:Louis01
Comment Utility
Try this link - it explains about Report Server Permissions
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 5

Author Comment

by:DamjanDemsar
Comment Utility
Hmm, I managed t to  connect. Thanks about that.

Am I reading it right, that I cannot add sql authentication user into reporting services, or would that be basic authentication (just make sure username and password are the same)?

Cheers, Damjan
0
 
LVL 5

Author Comment

by:DamjanDemsar
Comment Utility
OK, I just needed to find which user had initial permitions. It had to be the built in administrator account (no other local administrators worked).


Thanks for help.
0
 
LVL 5

Author Comment

by:DamjanDemsar
Comment Utility
Hmm... just addional info....

It seems that if you try to run standard reports from MS SQL management studio then report server permissions do not apply. The connected user needs permissions on SQL server to VIEW ALL DEFINITION and VIEW SERVER STATUS

so open new query

use master;
GRANT VIEW ALL DEFINITION to username
GRANT VIEW SERVER STATUS to username
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now