FIX: Access Violation Occurs with Some Cursors on Derived Table

ID: Q188328


The information in this article applies to:
  • Microsoft SQL Server version 6.5

BUG #: 18014 (SQLBUG_65)

SYMPTOMS

If you use a keyset, dynamic, or forward-only cursor on a query that is based on a derived table, an access violation (AV) may occur. Insensitive cursors do not cause the access violation. On the client, the query will not complete, and when the query is canceled, the following error message is displayed:

Query canceled by User
DB-Library: Possible network error: Error in sending out-of-band data to SQL Server.
Net-Library error 232: ConnectionWrite (GetOverLappedResult()).


WORKAROUND

To avoid the access violation, either do not use a derived table or change the cursor type to insensitive.


STATUS

Microsoft has confirmed this to be a problem in SQL Server version 6.5. This problem has been corrected in U.S. Service Pack 5a for Microsoft SQL Server version 6.5. For information about downloading and installing the latest SQL Server Service Pack, see http://support.microsoft.com/support/sql/.

For more information, contact your primary support provider.

Additional query words: prodsql AV cancelled err msg

Keywords : SSrvProg SSrvStProc kbbug6.50 kbfix6.50.SP5
Version : winnt:6.5
Platform : winnt
Issue type : kbbug


Last Reviewed: November 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.