Permissions problem executing stored procedure
Permissions problem executing stored procedure
(OP)
I have two stored procedures (actually several, but it boils down to this). I can execute both of them under my userid without problems.
We're using a specific userid for running reports. With this userid, I can execute one of the procs and not the other, and they both appear to have the same permissions. I checked the permissions for each stored proc for the user, and they both have Effective Permissions of EXECUTE. So, I'm stumped. Why can the user execute one of the stored procs and not the other?
We're using a specific userid for running reports. With this userid, I can execute one of the procs and not the other, and they both appear to have the same permissions. I checked the permissions for each stored proc for the user, and they both have Effective Permissions of EXECUTE. So, I'm stumped. Why can the user execute one of the stored procs and not the other?
An unforeseen consequence of the information revolution has been the exponential propagation of human error.
RE: Permissions problem executing stored procedure
Regards
Frederico Fonseca
SysSoft Integrated Ltd
www.syssoft-int.com
FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?
RE: Permissions problem executing stored procedure
An unforeseen consequence of the information revolution has been the exponential propagation of human error.
RE: Permissions problem executing stored procedure
If both SP's are on the same database and the login used (either SQL or Windows AD) is the same then I would think the SP is trying to link to another server (or execute a shell command on a share to which the user does not have permissions), and failing because permissions aren't set.
If SP's are on different DB's on same instance it may be permissions to the other DB that need fixing.
Regards
Frederico Fonseca
SysSoft Integrated Ltd
www.syssoft-int.com
FAQ219-2884: How Do I Get Great Answers To my Tek-Tips Questions?
FAQ181-2886: How can I maximize my chances of getting an answer?
RE: Permissions problem executing stored procedure
An unforeseen consequence of the information revolution has been the exponential propagation of human error.
RE: Permissions problem executing stored procedure
An unforeseen consequence of the information revolution has been the exponential propagation of human error.