Comments
6 comments
-
I have the same issue, connecting to 2008. My account is actually a db_owner, so really confused as to what permission I'm missing.
Can anyone help us out? -
Sorry that it's taken a while for someone to answer you. Could you try granting the user the VIEW SERVER STATE permission? Sometimes, if SQL Prompt needs to grab information regarding encryption keys this error can be returned if the user does not have this privilege.
-
That worked. Thanks for the answer.
Rgds,
Ed -
That was it. Thank you. For anyone else viewing this, I couldn't find a way to do that in SSMS. Here's the TSQL command.
GRANT VIEW SERVER STATE TO YourLogin -
I'm having the same problem. Unfortunately my database is on a hosted site and they do not wish to GRANT VIEW SERVER STATE for security reasons. Any suggestions?
Thanks. -
dev_maniac wrote:That was it. Thank you. For anyone else viewing this, I couldn't find a way to do that in SSMS. Here's the TSQL command.
GRANT VIEW SERVER STATE TO YourLogin
To set this permission in SSMS, right click the server in Object Explorer, then click Properties.
On the Server Properties window, click Permissions in the left nav.
The top pane has the list of Logins, scroll thru to find your login.
The bottom pane has the list of permissions. View Server State is the last in the list.
Add comment
Please sign in to leave a comment.
When he attempts to use it with our SQL 2008 server (on which he has more permissions) he gets the following:
What gives? He has the VIEW ANY DEFINITION right on the server and is a db_reader on the db in question.