Click here to Skip to main content
15,894,177 members

1 solution

Probably, your project is building to a 64bit target: there is no version of Jet for 64 bit machines.

You might be able to use the ACE 64 bit driver: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=23734[^] - but I have no idea how that would work if you need to go back to Jet for your 32 bit apps.

However, you may be able to switch the project to 32bit and use your installed Jet driver, it depends on what other assemblies you are using.

Maybe it's time to scrap Access databases altogether, bite the bullet and go for SQL server instead?
 
Share this answer
 
Comments
Navi Sandhu 21-Jan-14 6:29am    
yes i used 64 bit system.but how can i use sql server instead of ACCESS database can u give some solution.
OriginalGriff 21-Jan-14 6:47am    
Download a copy from MS (they do a free Express version which should work fine)
2012: http://www.microsoft.com/en-gb/download/details.aspx?id=29062
2008: http://www.microsoft.com/en-gb/download/details.aspx?id=30438
And use SqlConnection, SQLCommand are so forth classes instead of OdbcConnection etc. Most of the rest should work pretty seamlessly.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900