Unix Technical Forum

sql server 2000

This is a discussion on sql server 2000 within the SQL Server forums, part of the Microsoft SQL Server category; --> Hi I have this error: Servidor: mensaje 229, nivel 14, estado 5, línea 1 SELECT permission denied on object ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-29-2008, 03:57 AM
raulgz
 
Posts: n/a
Default sql server 2000

Hi

I have this error:

Servidor: mensaje 229, nivel 14, estado 5, línea 1
SELECT permission denied on object 'sysobjects', database 'SED', owner 'dbo'.

with this sentence:


select * from sysobjects

I only resolve this grant System Administrators to my user,
but I need make select to sysobjects,sysindexes, etc, etc
without rol System Administrators ,

I already make grant select on sysoobjects to my user but
the error persits

How i can do i t??


Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-29-2008, 03:57 AM
Erland Sommarskog
 
Posts: n/a
Default Re: sql server 2000

[posted and mailed, please reply in news]

raulgz (ragaza@ozu.es) writes:
> I have this error:
>
> Servidor: mensaje 229, nivel 14, estado 5, línea 1 SELECT permission
> denied on object 'sysobjects', database 'SED', owner 'dbo'.
>
> with this sentence:
>
>
> select * from sysobjects
>
> I only resolve this grant System Administrators to my user,
> but I need make select to sysobjects,sysindexes, etc, etc
> without rol System Administrators ,
>
> I already make grant select on sysoobjects to my user but
> the error persits


First do a "sp_helprotect sysobjects" in the database in question
to find out if there are any explicit DENY on sysobjects. In such
case revoke these. If there is nothing at all, do

GRANT SELECT ON sysobjects TO public

This is the default permissions for sysobjects.


--
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinf...2000/books.asp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:46 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com