Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grant error on stored procedure 1

Status
Not open for further replies.

RobHVB6Sql

Programmer
May 20, 2002
77
0
0
AU
I am having problems with one stored procedure, all others are fine.

The normal process is:
1) I (logged in as 'rob' and the db_owner) create a stored procedure.
2) This statement is run:
'GRANT EXECUTE ON rob.spXXX TO EnigmaGroup'
3) Members of the group can run the sp.

Problem is the latest sp created won't allow members to execute it. The error message show is: 'Grantor does not have grant permission'.

The server owner (sysadmin role) has looked at this and run the script, grant statement. We have also tried recreating the script. Could it be a setting in the database? Any hints appreciated. Rob Hasard
Data Manager -Genetic Services
(VB6 /SQL 7.0)
 
Maybe your "problem SP" needs access to objects for which you do not have grant privileges ? Consult BOL on topic "Using ownership chains". Hope you find what you're looking for. Greetz, Patrick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top