RE: Activity Monitor: SQL 2005
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Sat, 7 Jan 2006 17:37:41 +0000 (UTC)
Harolds (harolds@xxxxxxxxxxxxxxxx) writes:
> In SQL BOL it states "To view the Activity Monitor the user needs SELECT
> permission to the sysprocesses and syslocks tables in the master
> database on a SQL Server 2000 server. Permission to view these tables is
> granted by default to the PUBLIC database role."
>
> I use two different SQL Server 2000 servers, one I can use Activity
> Monitor on the other I get the same error, my securty for both servers
> is identical.
Given the error message you get:
Invalid object name 'sysdatabases'. (Microsoft SQL Server, Error: 208)
My guess is that your default database on this server is not the master
database.
I made an experinment by connecting to an SQL 2000 with a user that
had tempdb as its default database, and indeed I got this exact message.
The part of the message that talks about insuffcient permission is
bogus. On SQL 2005, you cannot tell whether an error is due to lack
of permission or whether the object is really missing. But SQL 2000
will always tell you the exact reason.
--
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
.
- Follow-Ups:
- RE: Activity Monitor: SQL 2005
- From: Erland Sommarskog
- RE: Activity Monitor: SQL 2005
- References:
- RE: Activity Monitor: SQL 2005
- From: Harolds
- RE: Activity Monitor: SQL 2005
- Prev by Date: RE: Activity Monitor: SQL 2005
- Next by Date: RE: Activity Monitor: SQL 2005
- Previous by thread: RE: Activity Monitor: SQL 2005
- Next by thread: RE: Activity Monitor: SQL 2005
- Index(es):
Relevant Pages
|