question

lukjak avatar image
lukjak asked

Sybase and SQL Server communication error[TDS]

Hi! We are having huge problems with executing SSIS package that transfers data from Sybase source to SQL Server. The errors we are getting: [ASEOLEDB]Bad TDS response stream received from server. Unexpected token type received: 16.". An OLE DB record is available. Source: "ASEOLEDB" Hresult: 0x00000000 Description: "[08S01] [Native Code: 30016] [ASEOLEDB]Bad TDS response stream received from server. Unexpected token type received: 68.". An OLE DB record is available. Source: "ASEOLEDB" Hresult: 0x00000000 Description: "[08S01] [Native Code: 30016] [ASEOLEDB]Bad TDS response stream received from server. Unexpected token type received: 0.". The funny part about it is that errors dont occur every time we try to exec the package. Sometimes there are no errors and process finishes succesfully. Sometimes there is only 'token: 0' error. I've spend hours on google trying to find out what is going on, but there is no single explanation about this kind of error(what does it really mean). I've found out what TDS protocol is, I can find topics with TDS errors, but there's rarely a solution. Anyone can help?
ssisetl
2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

nidheesh.r.pillai avatar image nidheesh.r.pillai commented ·
Is this package new? If no; was something changed in the package or code? Any known upgrade in versions of SQL server or Sybase?
0 Likes 0 ·
lukjak avatar image lukjak commented ·
Package is rather new, we've noticed that all problems started after our client did 'something' with source database. We dont know what he has done, he does not brag about it, but they changed something, probably more than just data operations, maybe updated server, I dont know. We consider 2 possible options, either driver mismatch or problem with encoding. But I'm not sure where to configure encoding on Sybase driver.
0 Likes 0 ·

1 Answer

·
clopezsv avatar image
clopezsv answered

Have you solved this?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.