1

I am trying to access the data from MS Access Database using C#. in my system i am able to access it. Where in server i am getting this error:

Error : -2147467259: System.Exception: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

In my system I've installed MS Office 2010 and in server it is 2003 is it because of that?

Both the systems are windows 2008 R2 and 64 bit

Please help me.

Akram Shahda
  • 14,655
  • 4
  • 45
  • 65
Vishnu
  • 725
  • 4
  • 11
  • 26

4 Answers4

2

Change target platform to x86 in project > properties > build.

David Wick
  • 7,055
  • 2
  • 36
  • 38
1

The following could help"

Microsoft.ACE.OLEDB.12.0 provider is not registered

The 'Microsoft.ACE.OLEDB.12.0' provider is not registered

Community
  • 1
  • 1
Akram Shahda
  • 14,655
  • 4
  • 45
  • 65
0

In this link you can find the 64 bits version of the 'Microsoft Access Database Engine 2010 Redistributable': http://www.microsoft.com/en-us/download/details.aspx?id=13255 You only can install it if you remove any 32 bits versions of office components.

0

I believe this library comes with Access, which you may not have installed on your server?

If not, try downloading the Microsoft Access Database Engine 2010 Redistributable .

Akram Shahda
  • 14,655
  • 4
  • 45
  • 65
mtazva
  • 1,005
  • 9
  • 13