Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sybase ODBC Connection error: [Sybase][ODBC Driver]Bad TDS response stream received from server

753 views
Skip to first unread message

pyuser

unread,
May 9, 2012, 1:56:49 AM5/9/12
to
Hi,

I am trying to connect to Sybase ASE server remotely using C++ ODBC
client. ODBC Client and Sybase ASE Server both are on Windows 2008 R2
64 bit.

The call to SQLDriverConnect fails with following error:

[Sybase][ODBC Driver]Bad TDS response stream received from server.
Unexpected end of reponse during login negotiation

and sqlstate set to 08S01.

When I "Test Connection" in ODBC Data Source Administrator, connection
succeeds without any problems.

I am using 64 bit Sybase ODBC driver and "sa" login for connection.

I tried using the DSN & DSN-less connection strings, but still the
error appears.

DSN=sybase_ase_64
Driver=Adaptive Server
Enterprise;server=remote_host_name;Port=5000;uid=ase_user;pwd=xxxx;

Can someone please help to put some light on this issue ?

Thanks in advance.

Best Regards,
Ganesh

j.vince...@gmail.com

unread,
Sep 6, 2013, 8:21:35 AM9/6/13
to
Did you ever resolve this issue?
0 new messages