Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
dreamer_0244
Starting Member
7 Posts |
Posted - 2008-03-13 : 03:43:21
|
| Hi! I created a stored procedure which uses the xp_cmdshell.EXEC XP_CMDSHELL 'DIR \\SERVERNAME\FOLDER'If I use it on a local computer it works fine but if I try to access computer on a network, it returns "Access Denied".I have read a lot of articles which says check the permissions. Can anyone tell me what are those permissions and how do I check them?Thanks! I would appreciate any help on this... |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-03-13 : 04:05:45
|
The folder which you are trying to access must be configured with at least read access for the user that executes the xp_xmdshell command. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-03-13 : 23:07:52
|
| And have read access for the user that starts sql service. |
 |
|
|
|
|
|