While
creating OleDB Connection through Visual Studio (to connect with Access DB or
import data from excel or CSV), you may get the error read as:
'Microsoft.ACE.OLEDB.12.0'
provider is not registered on the local machine.
Solutions:
There
are several possible solutions for this error; you can try any one of mentioned
below solution:
·
If that doesn’t solve your problem try to
install 2007Office System Driver: Data Connectivity Components.
·
Or you can try by changing Solution
Platform from "Any CPU" to "x86". For this right click on
the Solution File(in Solution Explorer) -> Configuration Manager ->
Active Platform Drop down -> If x86 is already there then select that, else
Click on New -> Select x86 from the new platform dropdown -> Compile and
Run your application.
Comments
Post a Comment