To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.5. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
293312�
INFO: How to Obtain the Latest MDAC 2.5 Service Pack
The English version of this fix should have the following file attributes or later:
Date Version Size File name
------------------------------------------------------
5/3/00 2.510.5303.0 483,600 bytes Oledb32.dll
NOTE: The installer package for this hotfix (Q267566_W2K_SP1_x86_en.EXE) is designed to run on Microsoft Windows 2000 platforms, and will not run on Microsoft Windows NT 4.0, Microsoft Windows 95 or Microsoft Windows 98 platforms. For this reason, the standalone hotfix file is provided as well so that you can copy it directly to Windows NT 4.0, Windows 95 or Windows 98 platforms. The installer package contains the exact same file, which has the attributes indicated in this section.
WORKAROUND
To work around this problem, disable session pooling by using any of the following methods:
- Set the OLEDB_SERVICES value for the provider to 0xfffffffc in the registry.
- Add "OLE DB Services = -2" to the connection strings that the application uses.
- If you use pure OLE DB code, add code similar to the following to the initialization properties:
// OLE DB Services
InitProperties[0].dwPropertyID = DBPROP_INIT_OLEDBSERVICES;
InitProperties[0].vValue.vt = VT_I4;
InitProperties[0].vValue.lVal = DBPROPVAL_OS_ENABLEALL & ~ DBPROPVAL_OS_RESOURCEPOOLING;