I have created a windows C# application with an Access 2003 mdb database.
I have compiled my application and I have obtined this error: "microsoft.jet.oledb.4.0' provider is not registered on the local machine".
In order to run my applicaton I did this: on my project (in Solution Explorer) clik right, -> Properties -> Build -> Platform target: x86 and my application ran correct.
My questions:
1. Can I create an x64 application with an Access 2003 mdb database ?
2. If yes, how can I do this ?
Loading

Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 5, 2011, 1:10 PM EDT
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 5, 2011, 10:22 AM EDT
If its a ASP.NET app, then you can create another app pool for enabling 32 bit applications and use the project.
Please do not forget to mark "Accepted Answer".
Romeo Boboc9 reputationPosted Oct 5, 2011, 10:36 AM EDT
2. Can I use Access 2010 database in order to create C# x64 application ?
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 5, 2011, 10:40 AM EDT
1. Yes
2. Yes
Beginning in Office 2007, Microsoft Access gained a new file format with file extension *.accdb and additional functionality. Access 2007 (and later) database files are supported by the new Microsoft ACE (Access Database Engine) driver. The Microsoft ACE database engine is available in a version for 64-bit systems and can be downloaded directly (driver only) at:
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255
Please do not forget to mark "Accepted Answer".
Romeo Boboc9 reputationPosted Oct 5, 2011, 10:59 AM EDT
Javeed M ShaikhRank #839 · 2.7K reputationPosted Oct 5, 2011, 11:21 AM EDT
http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255
Please make sure you have Windows XP Service Pack 3.
Romeo Boboc9 reputationPosted Oct 5, 2011, 11:46 AM EDT
Is it correct ?
Romeo Boboc9 reputationPosted Oct 5, 2011, 2:20 PM EDT