Skip to Content
Former Member
Aug 25, 2013 at 01:31 PM

Need help in connecting/working with Chinese Sybase ASE database


i have question regarding problem i'm facing while working with Chinese Sybase ASE database

I'm trying to connect to a Chinese Sybase Adaptive Server on a machine with OS regional setting as China.

I'm connecting using ODBC from different Windows machine, so when using the regular ODBC connection string for connecting

( Such as: “DRIVER={Adaptive Server Enterprise};SERVER=SYB-SRV;port=5000;UID=sa;DB=;”)

It fails with the following error message:

“RetCode: SQL_ERROR SqlState: 08S01 NativeError: 30016 Message: [Sybase][ODBC Driver]Bad TDS response stream received from server. Unexpected end of reponse during login negotiation.”

When adding “charset=utf8” to the connection string i succeed to connect but, then I'm facing problems with calling other functions of the ODBC like SQLTables
which is returning no data instead of returning existing tables and schemas.

can you elaborate.