FIX: Access Violation Occurs with Some Cursors on Derived Table (188328)



The information in this article applies to:

  • Microsoft SQL Server 6.5

This article was previously published under Q188328
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 6.5. This problem has been corrected in Service Pack 5a for Microsoft SQL Server 6.5.For more information, click the following article number to view the article in the Microsoft Knowledge Base:

197177 INF: How to Obtain SQL Server 6.5 Service Pack 5a

For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix KB188328