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 |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2011-12-15 : 11:18:26
|
| Hi,The following sql:GRANT EXECUTE ON master..xp_cmdshell TO [domainName\groupname]gives the error:Cannot find the object 'xp_cmdshell', because it does not exist or you do not have permission.Is my sql correct please? |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-15 : 11:36:07
|
| whats error you're getting when you try to run xp_cmdshell? is it enabled in db first?------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2011-12-15 : 11:39:27
|
| This was to do with permission to be able to execute this line.It is solved now.Thank you. |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2011-12-15 : 11:43:03
|
| k------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
 |
|
|
|
|
|