While working with Microsoft Access Database connectivity with with ADO.NET you might have received this error
The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine
The 'Microsoft.Jet.oledb.4.0' provider is not registered on the local machine
You need to change the Solution Platform from "Any CPU" to "x86". The steps are given below
1. Right Click on the Solution File in Solution Explorer
2. Click on the Configuration Manager.
3.Click on the Active Platform Drop down, If x86 is already there then select that, else Click on New
4.Select x86 from the new platform dropdown
5.Compile and Run your application,
If you are still facing the issue then try installing Office System Driver
OLEDB Provider is not registered on the local machine
may solve ur problem.