Article ID: 165621
Article Last Modified on 5/20/2003
APPLIES TO
- Microsoft SQL Server 6.5 Standard Edition
- Microsoft ODBC Driver for Microsoft SQL Server 2.0
- Microsoft ODBC Driver for Microsoft SQL Server 3.0
- Microsoft Open Database Connectivity 2.0
- Microsoft Open Database Connectivity 3.0
This article was previously published under Q165621
BUG #: 16328 (2.65.0240)
SYMPTOMS
In a multi-threaded application that has two threads, when the first thread does a SQLExecDirect of a select statement and the second thread does a SQLCancel in the middle of the select, the driver does not get a response back from the server, and therefore closes the connection.
The following error is reported by the Net-Library:
The SQL Server driver then reports the following error:
WORKAROUND
There is no known workaround at this time.
STATUS
Microsoft has confirmed this to be a problem in Microsoft SQL Server driver version 2.65. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server version 6.5. For more information, contact your primary support provider.
Additional query words: odbc cursor
Keywords: kbbug kbfix kbinterop kbprogramming kbusage KB165621