July 5, 2007 at 2:20 am
I have already Enabled xp_cmdshell.
and also given the full permission on batch file to user user who is going to execute through xp_cmdshell
But still i am getting the same error.
Still i am getting Access denied 5 error.
Regards
Sanjay
July 5, 2007 at 2:26 am
July 5, 2007 at 3:01 am
Permission problem check if you have necessary permissions to the file or the resource you try to access. BTW if xp_cmdshell is not enabled you should be getting an error like this
Msg 15501, Level 16, State 1, Procedure xp_cmdshell, Line 1
This module has been marked OFF. Turn on 'xp_cmdshell' in order to be able to access the module.
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
November 29, 2010 at 8:23 am
Hi Sugesh Kumar, I have the same error. What permissions have to have the user that execute a package with the follow statement for dont show error "Denied acces":
exec master.dbo.xp_cmdshell 'dir \\g100603sv078\Interfaces_Peru_IN\FD\BO204DL* /o-d'
Thaks by your help!
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply