Article ID: 188328 - Last Review: March 14, 2006 - Revision: 4.0

FIX: Access Violation Occurs with Some Cursors on Derived Table

This article was previously published under Q188328
BUG #: 18014 (SQLBUG_65)
Expand all | Collapse all

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  (http://support.microsoft.com/kb/197177/ ) INF: How to Obtain SQL Server 6.5 Service Pack 5a
For more information, contact your primary support provider.

APPLIES TO
  • Microsoft SQL Server 6.5 Standard Edition
Keywords: 
kbbug kbfix KB188328
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
 

Article Translations