|
Home > Archive > ASE Database forum > April 2005 > xp_cmdshell "dir"
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Dear All,
I had installed sybase 12.5.2 in windows2000 server.
when I try to execute xp_cmdshell "dir" from a client
I am getting the following error:
Server Message: Number 8015, Severity 10
Adaptive Server has truncated parameter number 1 passesd to rpc
'08sybsyespxp_cmdshe
ll' on server 'TELOS_XP'. The remote server does not
support character or binary data wider than 255 bytes.
Server Message: Number 11488, Severity 10
User access denied. Not a member of NT administrators group.
(return status = 1)
Regards
Prabhu
| |
| Muralidharan 2005-04-11, 8:25 pm |
| For the user access denied, take a look at 'xp_cmdshell
context' configuration parameter.
Setting it to 0 should solve it.
But I'd suggest to read about it before implementing.
HTH
> Dear All,
>
> I had installed sybase 12.5.2 in windows2000 server.
> when I try to execute xp_cmdshell "dir" from a client
> I am getting the following error:
>
> Server Message: Number 8015, Severity 10
> Adaptive Server has truncated parameter number 1 passesd
> to rpc '08sybsyespxp_cmdshe
ll' on server 'TELOS_XP'. The
> remote server does not support character or binary data
> wider than 255 bytes. Server Message: Number 11488,
> Severity 10 User access denied. Not a member of NT
> administrators group. (return status = 1)
>
> Regards
> Prabhu
>
>
| |
|
| Hi,
thanx
I changed the configuration parameter. Now it is working fine in server
machine
from the client machine i am getting the following error and
the result i am getting is null.
Server Message: Number 8015, Severity 10
Adaptive Server has truncated parameter number 1 passesd to rpc
'08sybsyespxp_cmdshe
ll' on server 'TELOS_XP'. The remote server does not
support character or binary data wider than 255 bytes.
(18 rows affected)
(return status = 0)
Pls give me the details from where I get the related docs.
Thanx & Regards
Prabhu
<Muralidharan> wrote in message news:425b2545.2ef8.1681692777@sybase.com...[color=darkred]
> For the user access denied, take a look at 'xp_cmdshell
> context' configuration parameter.
> Setting it to 0 should solve it.
> But I'd suggest to read about it before implementing.
>
> HTH
>
|
|
|
|
|