Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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

View products that this article applies to.

This article was previously published under Q295757

↑ Back to the top


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.

↑ Back to the top


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� INFO: How to Obtain the Latest MDAC 2.6 Service Pack


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 

↑ Back to the top


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.

↑ Back to the top

Keywords: KB295757, kbqfe, kbmdac260sp1fix, kbfix, kbbug, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 295757
Revision : 5
Created on : 9/26/2005
Published on : 9/26/2005
Exists online : False
Views : 363