DamjanDemsar
asked on
Sql user canot use standard reports using MS SQL Management studio
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this link - it explains about Report Server Permissions
ASKER
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
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
ASKER
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.
Thanks for help.
ASKER
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
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
ASKER
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?