Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sql user canot use standard reports using MS SQL Management studio

Posted on 2013-06-20
6
Medium Priority
?
1,609 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 2000 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

704 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