BCP Help - Error = CTLIB Message: - L6/O8/S5/N3/5/0:

Here is my BCP command

C:\>bcp dts_working_db.FTL_Payroll_File out "\\shouts01\DTS_WORK\deletable_files\FTL_Payroll_File_10092007.csv" -c -t, -T

Here is the output in the command window when executed at the server

CTLIB Message:  - L6/O8/S5/N3/5/0:
ct_connect(): directory service layer: internal directory control layer error: Requested server name not found.
Establishing connection failed.

I have 15 DTS packages issuing the same command, but for some reason this one will not work.
I just need a slap in the right direction to get this functioning
Who is Participating?
twoboatsConnect With a Mentor Commented:
That'd do it.
You don't specify a server name in this. Try adding one in.
cpctechAuthor Commented:
Found the issue.

IT installed a set of Sybase drivers and it changed the enviroment variable to point to sybase's bcp and not SQL Server's bcp.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.