Unrecognized Database Format. Not corrupt!

  • 12 years ago


    I am running VBE2008 and trying to access an Access 2000 database with it. However, I keep getting the error "Unrecognized Database Format" at this line in my code:


     The SQL syntax is fine (it's simply a "SELECT * FROM Datasource.Table"). I have repaired/compacted the database, updated all drivers pertinent, and have now created a test database from scratch, so as far as I understand there is no way for this database to be corrupted.
    The file is part of the project, and is in the proper location in the bin/debug folder. I just can't see what I am doing wrong here! If anyone wants the full code, I would be happy to post it.

    Rev. BVM

  • 12 years ago
    It might be worth you posting the code, in particular the part where you declare the OleDbConnection and specify the connection string.

    Apart from that, the only other suggestion is to check that you're up to date in terms of MDAC version. 


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone” - Bjarne Stroustrup