Article ID: 236991 - Last Review: September 2, 2005 - Revision: 4.0 You receive an "Unrecognized database format" error message when you open a database created with Access 2000This article was previously published under Q236991 SYMPTOMS When opening a database created with Access 2000 through
MFC DAO classes in Visual C++, you get the following error message:
Unrecognized database format. CAUSE This error message occurs because the MFC DAO classes that
ship with Visual C++ 6.0 load DAO 3.5 (Dao350.dll) by default. DAO 3.5 uses Jet
3.5, which can only open Jet 3.5 format (or earlier) databases. Access 2000
creates Jet 4.0 format database files, which are unrecognizable to Jet 3.5. To
successfully open an Access 2000 database using the MFC DAO classes, you need
to use DAO 3.6 (Dao360.dll). DAO 3.6 uses Jet 4.0, which can open any available
Access database format. RESOLUTION Currently, there is no workaround to using AppWizard with
Access 2000 data sources. For your application to use version 3.6 of DAO, you must update the version of MFC at run time to MFC version 6.01. To do this depends on whether you are building the application to use the MFC DLL or to build with the static libraries for MFC. If you are linking with the MFC DLL, you can specify that you want MFC to use DAO 3.6 by inserting the following line of code before you open an Access 2000 database:
STATUS
This behavior is by design. | Article Translations
|

Back to the top
