Article ID: 257780 - Last Review: August 7, 2007 - Revision: 1.4 FIX: Unrecognized Database Format Error with Data Control or Data Form WizardThis article was previously published under Q257780 On This PageSYMPTOMS
When you attempt to connect to a Microsoft Access 2000 database by using either the standard Data control or the Data Form Wizard, you see the following error message where '...\databasename.mdb' is the absolute filename of the Access 2000 database:
Unrecognized database format '...\databasename.mdb'"
CAUSE
The standard Data control uses Data Access Object (DAO) 3.51 to connect to Access databases by using the Jet 3.51 engine. The Data Form Wizard uses the Jet 3.51 OLE DB Provider to connect to Access databases by using the Jet 3.51 engine. The Jet 3.51 engine can connect to Access database versions prior to Access 2000, but cannot connect to Access 2000 databases. RESOLUTION
These problems are not seen with the Data control and Data Form Wizard that ship with Microsoft Visual Studio 6.0 Service Pack 4 and later. (If you are using the Data Control, you must take the additional step of changing its Connect property to Access 2000.)
Prior to service pack 4 for Visual Studio 6.0, the workaround for the standard Data control problem was to open a Recordset using DAO code, and then assign it to the Data control's Recordset. This workaround is described in Microsoft Knowledge Base article Q238401 in the "References" section. Prior to service pack 4 for Visual Studio 6.0, the workarounds for the Data Form Wizard problem were:
NOTE: There are known issues when connecting to Access 2000 on certain localized versions of Visual Basic 6.0 Service Pack 4. This is scheduled to be fixed in Visual Basic 6.0 Service Pack 5. However, this bug is fixed for the English version (North America) of Visual Basic 6.0 Service Pack 4. STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0. For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base: 194022
(http://support.microsoft.com/kb/194022/EN-US/
)
INFO: Visual Studio 6.0 Service Packs, What, Where, Why To download the latest Visual Studio service pack, visit the following Microsoft Web site:194295 (http://support.microsoft.com/kb/194295/EN-US/ ) HOWTO: Tell That a Visual Studio Service Pack Is Installed http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx
(http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx)
MORE INFORMATIONSteps to Reproduce Using the Standard Data Control
Steps to Reproduce Using the Data Form Wizard
REFERENCES | Article Translations
|
Back to the top
