问题
- I am using visual studio community 2017
- Access 2010 - 2016
- I can import an access file I created
- File sent from client contains(tables, queries, forms, macros, and modules)
- Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\jeremiah\Documents\Batching.accdb
- Client sent me another basic file, was able to open without a problem
So I been through all current stack over flow solutions for people reporting the unrecognized database error and none of them have been useful.
My only theory is that the database they are using is to complicated to be used as a data source for visual studio. Do you have any suggestions?
回答1:
I may not tell you what the problem is but I solved this issue before by resaving the database file as Microsoft Access 2003. Goto Save Database As Access 2002-2003 (*.mdb) and then use the new file.
回答2:
You need use ACE.OLEDB 32 bits in Visual studio connection. (click in Advanced... button in Add Conection screen)
The visual studio try use of Jet.OleDB not more supported.
来源:https://stackoverflow.com/questions/47229251/unrecognized-database-format-accdb-in-visual-studio