PRB: Reasons for Error 10008: Bad Token from SQL ServerLast reviewed: April 25, 1997Article ID: Q73215 |
The information in this article applies to:
SYMPTOMSWhen you run a DB-Library (DB-Lib) application, the following error message is received:
Error 10008, Bad token from SQL Server: Datastream processing out of sync. CAUSEA DB-Lib application communicates with a SQL Server across the network using a tabular data stream (TDS). This TDS is transmitted across a named pipe, which is provided and maintained by the network operating system. Each DB-Lib application automatically parses this TDS to extract useful information (for example, query result rows). When DB-Lib cannot interpret the TDS, it generates a 10008 error:
Bad token from SQL Server: Datastream processing out of sync.There are two potential causes for this error:
WORKAROUNDCheck for possible network problems, or run network diagnostics. Remember that the problem can involve any of the networking hardware or software, on the server and/or on the client. For more information on the second problem and how to increase the numreqbuf value, query on the following words in the Microsoft Knowledge Base:
(configuring) and (LAN Manager) and (Peer Service) and (SQL Server)When you write a DB-Lib application, the 10008 error can be gracefully handled by having the error handler of the DB-Lib application trap the 10008 error. After receiving it, you can close the DBPROCESS connection, open a new one, then resend the query.
|
Additional query words: Windows NT
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |