User has no permission access denied

  • I m executing long query with joins and dmvs. But it is showing error user has no permission, access denied. But when i execute an individual dmv it is fine. the user has read only permission on the database.

    can any one say how it is possible....

  • Please post your query and the actual full error message you are getting

  • mohan.bndr (2/16/2012)


    I m executing long query with joins and dmvs. But it is showing error user has no permission, access denied. But when i execute an individual dmv it is fine. the user has read only permission on the database.

    can any one say how it is possible....

    VIEW SERVER STATE permission is required in order to be able to view data from DMVs. Ensure that you have provided this permission to the login that you are using to connect.

    If this doesn't solve your problem, please post the query & the error you are getting.


    Sujeet Singh

  • Thanks to all.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply