How to fix Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine In accessdatabaseengine 2016

Sagar Pithadiya 1 Reputation point
2021-07-13T16:59:19.737+00:00

Team,
Kindly please help me to figure out issue regarding Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine

I just updated ACCESS DATABASE ENGINE 2010 to ACCESS DATABASE ENGINE 2016 version in my system.

so please help me to figure out OLEDB issue in my system.

Please let me know any further information needed from my side.

thanks,
Sagar

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
7,568 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Jamie Hayashi 121 Reputation points
    2022-05-04T00:09:02.673+00:00

    I have encounter this problem, hope this solution can help you.

    1st- check Microsoft Office 32bit or 64bit.
    Note: On the Mac, there is no choice between running a 32-bit or 64-bit version of the operating system, since the OS has been 64-bit for several
    years. Office for Mac 2011 was only available in a 32-bit version, and Office for Mac 2016 is now only available in a 64-bit version.
    2nd- Install Access Database Engine. I give you the link. https://www.microsoft.com/en-us/download/details.aspx?id=54920 and click download and it's better to download 64bit.
    198589-untitled.png
    3rd - Open your Visual Studio Project, Right click and locate the properties of the project.
    198671-untitled1.png

    4th - Proceed to build TAB, next look "Platform Target". In default that combobox is selected "ANY CPU" and the checkbox Prefer 32-bit is check. Now all you need to do is change that combobox in to 64bit (x64) and don't check any check box. Close the Visual Studio or restart pc thin open it again.
    198625-untitled2.png

    We hope this can help you.

    1 person found this answer helpful.

  2. Castorix31 68,856 Reputation points
    2021-07-13T17:09:51.907+00:00

    There was a thread about this type of problem : How to fix: “The Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine”
    (on my OS, I had installed both 32 and 64-bit)


  3. Sagar Pithadiya 1 Reputation point
    2021-08-05T16:57:04.8+00:00

    its solved by changing Provider in connection string and Target platform to x86 in Project properties.

    Thank you soo much everyone for give me lead to fix this issue :)

  4. Abhi Kadam 11 Reputation points
    2023-01-05T12:21:45.473+00:00

    To resolve install

    1: Microsoft Access Database Engine 2010 Redistributable
    Using below link.

    https://www.microsoft.com/en-in/download/details.aspx?id=13255

    Steps to install:
    1: Open CMD in administrator privilege
    276470-image.png

    2: Go the installable path of 32 bit Microsoft Access Database Engine 2010 Redistributable in CMD
    prompt and start the installation.
    Other OLEDB driver

     Microsoft Access Database Engine 2010
    (Microsoft.ACE.OLEDB.12.0) https://www.microsoft.com/en us/download/details.aspx?id=13255

     Microsoft Access 2013 Runtime
    (Microsoft.ACE.OLEDB.15.0) https://www.microsoft.com/en us/download/details.aspx?id=39358

     Microsoft Access Database Engine 2016
    (Microsoft.ACE.OLEDB.16.0) https://www.microsoft.com/en us/download/details.aspx?id=54920