Solved

Sql user canot use standard reports using MS SQL Management studio

Posted on 2013-06-20
6
1,513 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 11

Accepted Solution

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

Author Comment

by:DamjanDemsar
ID: 39262130
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
ID: 39262169
Try this link - it explains about Report Server Permissions
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 5

Author Comment

by:DamjanDemsar
ID: 39264993
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
ID: 39267635
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
ID: 39280566
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

738 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