D
darrel
I have a simple Stored procedure that I'm using to call the command shell to
execut DTSRUN (which, in turn, calls a DTS package):
CREATE PROCEDURE updateDB AS
Exec master..xp_cmdshell
'DTSRUN my paramaters...'
I'm calling this procedure from an asp.net page. I'm getting the following
error:
An error has occured:System.Data.SqlClient.SqlException: EXECUTE permission
denied on object 'xp_cmdshell', database 'master', owner 'dbo'.
Obviously, it's a permissions issue. It looks like I need the DB admin to
set up a new user account that has permission to run the xp_cmdshell SP.
Does that sound about right? If so, how do I go about calling that procedure
from my procedure under that account name?
-Darrel
execut DTSRUN (which, in turn, calls a DTS package):
CREATE PROCEDURE updateDB AS
Exec master..xp_cmdshell
'DTSRUN my paramaters...'
I'm calling this procedure from an asp.net page. I'm getting the following
error:
An error has occured:System.Data.SqlClient.SqlException: EXECUTE permission
denied on object 'xp_cmdshell', database 'master', owner 'dbo'.
Obviously, it's a permissions issue. It looks like I need the DB admin to
set up a new user account that has permission to run the xp_cmdshell SP.
Does that sound about right? If so, how do I go about calling that procedure
from my procedure under that account name?
-Darrel