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
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
Post a Comment