Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

Grant SELECT on MsSqlSystemResource SQL2005 5th system DB

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sigge Persson - 15 Jul 2008 11:25 GMT
Hi.

I am working with an account that has limited access to the SQL server.
Using Sharepoints API, I am opening a list on a web, and get the following
error.
________
The SELECT permission was denied on the object ‘syscolumns’, database
‘mssqlsystemresource’, schema ‘sys’
________

I now need to find a way to grant this account permission to preforn Select
queries on that database.
The account has Server role 'PUBLIC' only.

the two ways i could think of are :
1) Set a higher server role.
and
2) USE Master GRANT SELECT ON sys.syscolumns TO PUBLIC

But the customer dont want to use those solutions, since it isn't secure
enough.

Any other suggestions on how i can resolve that?
As a note, the mssqlsystemresource is a hidden database that complements the
master db. (it contains stored procedures , views and functions)
Dan Guzman - 15 Jul 2008 13:40 GMT
> I am working with an account that has limited access to the SQL server.
> Using Sharepoints API, I am opening a list on a web, and get the following
[quoted text clipped - 3 lines]
> ‘mssqlsystemresource’, schema ‘sys’
> ________

I don't know much about Sharepoint but the error indicates that at least
VIEW DEFINITION is required.  This permissions allows retrieval of meta-data
related to database objects.

> I now need to find a way to grant this account permission to preforn
> Select
> queries on that database.
> The account has Server role 'PUBLIC' only.

Check out the db_datareader database role.  You can also grant permissions
at the schema level.  For example:

GRANT SELECT ON SCHEMA::dbo TO SomeAccount

Signature

Hope this helps.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

> Hi.
>
[quoted text clipped - 23 lines]
> the
> master db. (it contains stored procedures , views and functions)
Sigge Persson - 15 Jul 2008 15:06 GMT
Thanks.
This will probably solve my problem, i'll give it a try tomorrow.

Thanks for the help.

> > I am working with an account that has limited access to the SQL server.
> > Using Sharepoints API, I am opening a list on a web, and get the following
[quoted text clipped - 45 lines]
> > the
> > master db. (it contains stored procedures , views and functions)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.