FIX: SQLOLEDB Does Not Work with DBACCESSOR_OPTIMIZED Flag and SSPROP_ENABLEFASTLOAD (302248)
The information in this article applies to:
- Microsoft Data Access Components 2.6
- Microsoft Data Access Components 2.6 SP1
- Microsoft SQL Server 2000 (all editions)
- Microsoft OLE DB Provider for SQL Server 2000 2000.80.194
This article was previously published under Q302248 SYMPTOMS
Using the Microsoft OLEDB Provider for SQL Server (SQLOLEDB) that comes with Microsoft Data Access Components (MDAC) version 2.6 or 2.6 SP1, when you set the value of the SSPROP_ENABLEFASTLOAD property to true in the SQLSERVERDATASOURCE property set, and then attempt to create an accessor with the DBACCESSOR_OPTIMIZED flag, the CreateAccessor() call returns DB_E_BADACCESSORFLAGS.
RESOLUTION
To resolve this problem, obtain the latest service pack for SQL Server 2000, the latest service pack for MDAC 2.6, or the hotfix referenced below.
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
For additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
300635 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 Time Version Size File name Platform
---------------------------------------------------------------------------
23-MAY-2001 18:16:00 2000.80.297.04 91,584 bytes Sqloledb.dll x86
23-MAY-2001 18:16:00 2000.80.297.06 1,440 bytes Sqloledb.rll x86
WORKAROUND
To work around this problem, do not set the SSPROP_ENABLEFASTLOAD flag to TRUE. If you need to set this flag to TRUE, you must install the fix.
STATUSMicrosoft 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 SQL Server 2000 Service Pack 2 and MDAC 2.6 Service Pack 2.
Modification Type: | Minor | Last Reviewed: | 9/26/2005 |
---|
Keywords: | kbHotfixServer kbQFE kbBug kbfix kbmdac260sp2fix kbSQLServ2000preSP2Fix KB302248 |
---|
|