Article ID: 154295 - Last Review: December 2, 2002 - Revision: 1.0 FIX: TDS Errors in a Multithreaded ODBC ApplicationThis article was previously published under Q154295
2.65 WINDOWS kbusage kbinterop kbbug2.65 kbfix6.50.sp2
BUG #: 15705 (SQLBUG_65)
SYMPTOMS
When two or more threads share the same database connection (but different
hstmts), a call to SQLExecDirect or SQLExecute fails, and one of the
following errors occurs:
[Microsoft][ODBC SQL Server Driver][SQL Server] Received an unrecognized
datatype 0 from TDS data stream
[Microsoft][ODBC SQL Server Driver]Unknown token received from SQL
Server
[Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream
WORKAROUND
To work around this problem, do one of the following:
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server ODBC
Driver version 2.65. This problem has been corrected in U.S. Service Pack 2
for Microsoft SQL Server version 6.5. For more information, contact your
primary support provider.
| Article Translations
|

Back to the top
