What permissions might be missing on error 229 from 'tables' node on SSMS object explorer

13,952

Might not be the same thing but I was getting that error today.

Turned out that in my haste to grant a user full access to a database I ticked all the boxes under role members including db_denydatareader, db_denydatawriter.

Share:
13,952

Related videos on Youtube

ConcernedOfTunbridgeWells
Author by

ConcernedOfTunbridgeWells

Data warehouse contractor in London. Mostly I work with SQL Server on Insurance clients. I've proposed a business intelligence site on Area 51, which has now been merged into dba.stackexchange.com.

Updated on September 17, 2022

Comments

  • ConcernedOfTunbridgeWells
    ConcernedOfTunbridgeWells over 1 year

    I have just added a login to test an ETL process on a database and I get the error described below when connect using the account I click on the 'Tables' tab on the object explorer on SSMS on a database with the login set up as a user.

    Failed to retrieve data for this request (Microsoft.SqlServer.SmoEnum)

    Additional Information

    An exception occured while executing a Transact-SQL statement or batch (Microsoft.SqlServer.ConnectionInfo)

    The SELECT permissions was denied on the object 'extended_properties' database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229).

    This looks like it should be a noddy mistake but I can't find anything that fixes the problem in a quick google search. Any ideas?

    • MrGigu
      MrGigu almost 15 years
      Do you get this error when you log in as SA (or equivalant administrator rights)?
    • ConcernedOfTunbridgeWells
      ConcernedOfTunbridgeWells almost 15 years
      No. Only when I log in as the user I just created.
    • Rob Garrison
      Rob Garrison over 14 years
      I posted a somewhat similar question on stackoverflow here: stackoverflow.com/questions/2002773/…