app role has exec permission but still can't execute sp
From: Diederik (diederikvanpeer@hotmail.com)
Date: 11/07/02
- Next message: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Previous message: G.R.Balakrishnan: "Some data not being saved"
- Next in thread: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Reply: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Diederik" <diederikvanpeer@hotmail.com> Date: Thu, 7 Nov 2002 02:18:43 -0800
Hi all,
I've set up an application role in my SQL2K database as
well as some users with no permissions. All permissions
(including execute permissions) are granted to the
application role.
The users log on to the database through my Visual Basic
application. After succesful logon, the security context
is switched to the application role's via 'sp_setapprole'
(called from within the VB application). So far so good.
However, when I try to execute a stored procedure through
the ADO command object, I get the 'EXECUTE permission
denied on object...' message. I don't understand this, I'm
positive that the application role has the execute
permission for the stored procedure, and I'm also sure
that the call to sp_setapprole went ok. Am I missing
something here?
Any help is appreciated.
Diederik
- Next message: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Previous message: G.R.Balakrishnan: "Some data not being saved"
- Next in thread: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Reply: Adi Cohn: "Re: app role has exec permission but still can't execute sp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|