executing xp_cmdshell getting error

  • hi guys,

    Please find a solution to solve this error "executing xp_cmdshell getting error ... Password:

    CT-LIBRARY error:

    : user api layer: external error: A data length of 255 exceeds the maximum length allowed for password data".

    Thanks in advance

    tejdeep5107

  • Looks like an error from whatever you are calling with xp_cmdshell. Are you having it call an exe file or something like that?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • Sounds familiar. What bitness of SQL Server are you running, and what is the command line you're running via xp_cmdshell?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • Could you post your xp_cmdshell command please ...

    Also, do you have the Sybase open client installed on your SQL Server for a linked server ?

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

  • Could you post your xp_cmdshell command please ...

    Also, do you have the Sybase open client installed on your SQL Server for a linked server ?

    RegardsRudy KomacsarSenior Database Administrator"Ave Caesar! - Morituri te salutamus."

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply