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

Error Message :


Solution 1:

Launch SQL Server Management Studio.

Connect to the SQL Server Instance.

Navigate to Security folder then expand Logins



Right Click at your login name and choose Properties




Click at Securables tab from left side pane

In the bottom pane, scroll to the bottom and click at Grant option for View Server State value.



Now click on apply to close the window. You can now ask your user to test the script again. This time it will work

Solution 2:

Using SQL script

USE MASTER

GO

GRANT VIEW SERVER STATE TO [username]


Comments

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Restore of database 'DataBase_Name' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

Cannot convert "Column" between a unicode and a non-unicode string data types in SSIS