Click here to Skip to main content
15,895,800 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

I encounter the above error message while executing import excel data into sql data table .
It worked fine in Mssql 2005 x86 and MS Office 2007 x86.
But currently we upgraded the system to MSSql 2012 x64 and MS Office 2010 x86.
I downloaded the accessdatabaseEngine.exe for MSoffice 2010 x86 and installed
Still It presist the same error.

Pls advice me.

maideen
Posted
Comments
PIEBALDconsult 18-Jul-14 22:03pm    
Turn it off and turn it back on again?

1 solution

Hi,I suffer the same problem years ago.

My solution was change cpu target type in my project property pages. Use x86 in cpu target type instead x64.
 
Share this answer
 

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