Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine

I had an issue today where an Office update caused my C# applications to stop connecting to my access database. I suddenly started getting the error:


Here's how to fix it.

First, confirm that you do not have Office 12.0 OLE DB Provider by opening up PowerShell and running this command

(New-Object system.data.oledb.oledbenumerator).GetElements() | select SOURCES_NAME, SOURCES_DESCRIPTION



This screen shot was taken after I fixed my computer. It shows ACE.OLEDB.12.0, 15.0, and 16.0.
If you don't have these, run the Access 2016 runtime installer from:


http://www.microsoft.com/en-us/download/details.aspx?id=50040




Comments

Popular posts from this blog

Windows RRAS VPN configuration when server is behind NAT

Lenovo X1 Carbon Battery Problem - Plugged, Not Charging

Multiple Remote Desktop sessions on Windows XP