Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OleDbException

Status
Not open for further replies.

rjoubert

Programmer
Oct 2, 2003
1,843
US
I have a VB.NET windows application that is talking to an Access 2003 Database. While I was initially developing the application (2 months ago), I kept getting this pesky OleDbException (Cannot open databae ''. It may not be a database that your application recognizes, or the file may be corrupt.) After some googling, I converted the database to Access 2003 (had been in Access 2000) and the error seemed to go away. Now it's back! It's an intermittent error that just seems to pop up at different spots in the application. Has anyone else seen this exception before? Any suggestions as to what I can do? I have posted this to the VB.NET forum as well.
 

or the file may be corrupt.

* Compact database
* Decompile
* Import all objects into a fresh v2003 database
 
Thanks Jerry, but I've done that before. I'm hoping to get to the root cause of this so I can avoid having to continuously compact/repair, and/or create a fresh 2003 MDB.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top