Grantor does not have GRANT permission

  • Hello all. Certain users can't run stored proc and get this error even though they definitely have correct permissions and other users can run it ok (I can run sp manually from QA as well). Any ideas?

    Paul

  • Can you tell us who is the owner of the sp, what the sp do, wich objects and owners that it query?

  • Here is the situation:

    Windows 2000 user added to domain Global group. Global group added to Local group on SQL Server. Local group added to a user-created db role. This role has exec permissions on sp. sp owner is dbo and it is doing select against user table in DB (also owned by dbo).

  • It should work anyway.

    Is there a chance that the users that can't exec the sp, has deny permissions on any other role, windows group on directly to their users?

  • No there are no deny permissions anywhwere. I have dropped and recreated the sp (with sysadmin rights) but this has had no effect.

  • It still sounds like the users that can't run it aren't members of the appropriate group. What happens if you grant the exec on the stored proc to 'public'? Can those users unable to execute it now then execute it?

    Jeff

  • Problem solved. App. was calling another sp which incorrectly included a GRANT statement (no GO between sp and GRANT). This meant that every time user connected sp was trying to do the GRANT but couldn't because user doesn't have permission.

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply