Following article describes, how you can fix an error "Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine". Usually, you might face this error while using MS Access 2007 or higher with OLEDB connections. It's because Office 2007 (and higher versions) requires OLEDB ACE drivers for connection. By default, the OLEDB ACE drivers wont be installed on Windows operating systems. To get this error fixed , you will need to install OLEDB ACE drivers manually.
Mainly the ACE providers are available in two forms: Microsoft Office Access database engine 2007 and Microsoft Access Database Engine 2010 Redistributable. First version is only available with 32-bit component. The second version offers both 32 and 64-bit options. In most cases, incorrect choice is the cause of this error. Hence, you should be more careful while choosing the correct option from these options.