How to fix the " 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data)" error SQL Server Import and Export Wizard

PACIFIQUE NTETA 5 Reputation points
2024-01-02T19:03:06.9866667+00:00

I have Microsoft SQL Server Management Studio and I am trying to import Excel files to work with in SQL. After choosing Microsoft Excel as the Data Source and choosing the file path, I get an error message saying that the operation could not be completed.

And as additional information, I am told that the 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data)

How can I solve this? I have 64-bit system.

Please see the attached images for more information.Screenshot 2024-01-02 204452

Screenshot 2024-01-02 204834

SQL Server | Other
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 122.3K Reputation points MVP Volunteer Moderator
    2024-01-02T22:18:28.64+00:00

    https://www.microsoft.com/en-us/download/details.aspx?id=54920 seems to be the place to go. Note that the error message says 16,0 not 12.0.


  2. ZoeHui-MSFT 41,496 Reputation points
    2024-01-03T02:01:04.3+00:00

    Hi @PACIFIQUE NTETA,

    From the error message, it seems to be a 32bit vs 64bit issue.

    Check installing-the-microsoft-ace-oledb-12-0-provider-for-both-64-bit-and-32-bit-processing, you may install both 32bit and 64bit provider.

    Microsoft Access Database Engine 2010 Redistributable

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.