Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/170616

From BetaArchive Wiki
Knowledge Base

FIX: Handled Exception Error Caused by Server Side Cursors

Article ID: 170616

Article Last Modified on 3/14/2006


  • Microsoft SQL Server 6.5 Standard Edition

This article was previously published under Q170616

BUG #: 16809 (Windows NT: 6.5)


Server side cursors may cause a handled exception error that closes the client thread on the server if all of the following conditions are true:

  • The cursor contains a text pointer clause.
  • The cursor's concurrency is set to optimistic.
  • The cursor type is keyset.
  • The fetch type is absolute and returns 1 row.

The EXCEPTION_ACCESS_VIOLATION raised is with sp_cursorfetch. This problem occurs when doing a SQLExtendedFetch from a client application, such as Visual Basic or ISQL/W.


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.

Additional query words: AV Access Violation

Keywords: kbbug kbfix kbprogramming kbusage KB170616