Article ID: 295757 - Last Review: September 26, 2005 - Revision: 3.2

FIX: Second SQLExecute on Prepared Statement with SQL_NOSCAN_ON Causes Client-Side AV

This article was previously published under Q295757

On This Page

Expand all | Collapse all

SYMPTOMS

On an ODBC connection to a SQL Server 2000 server, the second call to the SQLExecute function on a prepared statement may cause a client-side access violation (AV) if the statement attribute SQL_ATTR_NOSCAN is set to SQL_NOSCAN_ON prior to execution.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.6. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
300635  (http://support.microsoft.com/kb/300635/EN-US/ ) INFO: How to Obtain the Latest MDAC 2.6 Service Pack

Hotfix

The English version of this fix should have the following file attributes or later:

   Date         Version         Size      File name      Platform
   --------------------------------------------------------------
   11/13/2000   2000.80.221.0   471,119   Sqlsrv32.dll   x86 
   11/13/2000   2000.80.221.0    28,742   Odbcbcp.dll    x86 
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 1.

APPLIES TO
  • Microsoft Data Access Components 2.6
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbhotfixserver kbqfe kbbug kbfix kbmdac260sp1fix kbqfe KB295757
 

Article Translations

 

Related Support Centers