Re: Non-SA can't view Activity Monitor with VIEW SERVER STATE perm.
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Mon, 29 Jan 2007 23:26:01 +0000 (UTC)
Augspies (Augspies@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I have a developer who has dbo privileges in master and msdb, and also has
VIEW SERVER STATE and VIEW ANY DATABASE. According to SQL Server 2005
documentation she should be able to view the Activity Monitor, but instead
gets the following error:
...
SELECT permission denied on object 'tables', database
'mssqlsystemresource',
schema 'sys'.
SELECT permission denied on object 'partitions', database
'mssqlsystemresource', schema 'sys'.
That's a tricky one. It would indicate that there are locks on tables
in msqlsystemresource. And mssqlsystemresource is unavailable to
everyone, including sa, but if you're in the sysadmin role, the
check may be bypassed so you don't see the error.
I don't really know what to suggest, but you could try my aba_lockinfo
which gives about the same information as the Actvity Monitor, but
without any GUI. You can get it from
http://www.sommarskog.se/sqlutil/aba_lockinfo.html.
Maybe I would be more worried over the locks in mssqlsystemresource.
That does not really sound normal to me...
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Prev by Date: Database Mirror failover from Principal to Mirror
- Next by Date: Re: SQL Accounts on Mirror
- Previous by thread: Database Mirror failover from Principal to Mirror
- Next by thread: Re: Non-SA can't view Activity Monitor with VIEW SERVER STATE perm
- Index(es):
Relevant Pages
|