Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 permission to run report

Author  Topic 

ngu059
Starting Member

2 Posts

Posted - 2008-12-03 : 18:27:51
(sql server 2005)
A login has been given db_owner database role to a database. However when he ran the User Statistics report for his database in sql server management studio he got the message:

Unable to retreive data for this report. Following error occurred
Msg 297, Level 16, State 1
The user does not have permission to perform this action

I wonder what permission he would need to produce the report?
Thanks

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-03 : 21:43:11
You need to grant View Server State Permission for it.
Go to Top of Page

ngu059
Starting Member

2 Posts

Posted - 2008-12-03 : 21:57:57
It works. Many thanks.
Go to Top of Page
   

- Advertisement -