PRB: Setting ADO Recordset Cachesize with JET OLEDB Provider Returns Error with MDAC 2.1 SP2 (245836)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- ActiveX Data Objects (ADO) 2.1
- ActiveX Data Objects (ADO) 2.1 SP2
- ActiveX Data Objects (ADO) 2.5
This article was previously published under Q245836 SYMPTOMS
Attempting to set the ActiveX Data Objects (ADO) recordset's Cachesize property returns the following error message:
Run-time error '3001':
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another.
This error occurs when Microsoft Data Access Component (MDAC) version 2.1 SP2 is installed on the computer and a JET OLEDB provider has been used to create the ADO connection.
RESOLUTION
The current workaround is to use the Microsoft Access ODBC driver when creating the ADO connection.
Modification Type: | Minor | Last Reviewed: | 7/28/2003 |
---|
Keywords: | kbMDACNoSweep kbprb KB245836 |
---|
|