Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 ERROR 229: SELECT permission denied on object 'sys
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

3 Posts

Posted - 12/19/2012 :  22:00:33  Show Profile  Reply with Quote

I granted all the rights on the database to the user (db_owner, public, db_datawriter, etc...) However, I didn't grant the "System Administrators" role. I also specifically granted the select on those tables (sysobjects and sysindexes) for the user and checked through ‘sp_helprotect sysobjects’ command whether there are no specific revokes for for that user.

However, the user is still getting the below error while trying to expand the "Tables" view in the Enterprise Manager.

ERROR 229: SELECT permission denied on object 'sysobjects', database 'My_test', owner 'dbo', SELECT permission denied on object 'sysindexes', database 'My_test', owner 'dbo'.

Also, the user claims that he can’t seem to do anything with the database, he can’t view any objects, and, when he goes to Query Analyzer, if he tries to run a SELECT query on a table (that he know that this table exists), he gets this error:

SELECT permission denied on object 'tblBillingTrans', database 'My_Test', owner 'dbo'.

Any help would be greatly appreciated!

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 12/19/2012 :  22:02:30  Show Profile  Reply with Quote
db_owner should give him select access on tables etc unless you specifically denied them. Are you sure you mapped user to roles in correct db?

SQL Server MVP

Go to Top of Page

Flowing Fount of Yak Knowledge

7174 Posts

Posted - 12/19/2012 :  22:04:06  Show Profile  Reply with Quote
Was DENY Select applied for that particular object? Check table properties and also check for permission given through role. Since the user is already in public you donot need to give select permission for system tables.

Edited by - sodeep on 12/19/2012 22:06:41
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000