Wednesday, February 17, 2016

VIEW SERVER STATE permission was denied on object ‘server’, database ‘master’.

With one of the application I have seen below error when working with SQL Server

VIEW SERVER STATE permission was denied on object ‘server’, database ‘master’ ( Microsoft SQL Server , Error: 300)

The issue is user don’t have VIEW SERVER STATE permission. Note that this will allow an auditing process to view all data or all database states on the instance of SQL Server.

The below command should solve the issue, but before you grant make sure you understand the implications of granting the below permission.

USE MASTER
GO
GRANT VIEW SERVER STATE TO <username>


Regards,
Satishbabu Gunukula



20 comments:

  1. thanks for the post, it helped me.

    --Raj

    ReplyDelete
  2. Hi I am getting this error when I right click a table/view.But the user has db_owner access for the database he is querying in.The error is

    An exception occured while executing a Transact-SQL statement or batch.

    Additional Information:
    VIEW SERVER STATE permission was denied on object 'server',database 'master'(Error:300)

    ReplyDelete
  3. Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to mind.


    Salesforce Training in Chennai Mylapore

    ReplyDelete
  4. thanks for shared wonderful information of giving best information.its more useful and more helpful. great doing keep sharing
    Digital Marketing Course in Chennai

    ReplyDelete
  5. SQL Concept are explained nicely in this blog thanks for it..Java Training in Chennai

    ReplyDelete
  6. Good and nice blog post, thanks for sharing your information.. it is very useful to me.. keep rocks and updating..


    Java Training in chennai

    ReplyDelete
  7. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.


    oracle training in Bangalore

    ReplyDelete
  8. This comment has been removed by the author.

    ReplyDelete
  9. It is really very helpful for us and I have gathered some important information from this blog..Summer Course in BesantNagar | Summer Course in Chennai

    ReplyDelete
  10. Thanks for posting this useful blog with impressive content.keep updating..
    Best Summer Courses in Saidapet | No.1 Summer Courses in Saidapet

    ReplyDelete
  11. My rather long internet look up has at the end of the day been compensated with pleasant insight to talk about with my family and friends. JAVA Training in chennai

    ReplyDelete
  12. I have been checking out a few of your stories and i can state pretty good stuff. I will definitely bookmark your blog read this post here

    ReplyDelete
  13. Casinos near DC on I-395 - JTGHub
    A map showing casinos and other 전주 출장샵 gaming facilities located near DC 의왕 출장안마 on I-395, I-395 (also 경산 출장샵 known 광주광역 출장샵 as 서산 출장샵 “Gates of Richmond”), in the area near Richmond,

    ReplyDelete