I'm trying to use xp_cmdshell, but I get the error that the userid does not have permissions.
So I try to grant Execute on that. Well, it says I can only grant for objects in the current db. Ok, I change to Master db. Now I try to grant on the user, but now it says that user isn't found--because I'M IN ANOTHER DATABASE NOW.
Ok, just a bit of frustration over this catch-22. How do I grant permissions for a user--from a database that is NOT the master database--to use xp_cmdshell? Also, I can't even see xp_cmdshell in the list of Sp's in master--why is that? Thanks,
--jsteph
So I try to grant Execute on that. Well, it says I can only grant for objects in the current db. Ok, I change to Master db. Now I try to grant on the user, but now it says that user isn't found--because I'M IN ANOTHER DATABASE NOW.
Ok, just a bit of frustration over this catch-22. How do I grant permissions for a user--from a database that is NOT the master database--to use xp_cmdshell? Also, I can't even see xp_cmdshell in the list of Sp's in master--why is that? Thanks,
--jsteph