The problem:

While trying to import an excel file into an SSAS model, I kept getting the following error:

Failed to save modifications to the server. Error returned: ‘The provider ‘Microsoft.ACE.OLEDB.12.0’ is not registered.
The following system error occurred: Class not registered
A connection could not be made to the data source with the Name of ‘Text 2018 Tableau Usage’.

Initially, I assumed it was the server that was causing problems, so I created a model with an integrated workspace (ssas running locally in the background).  This rules the SSAS server I had been using out of the problem.

Visual studio only runs in 32 bit, which is why you’ll find it in: “C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\”.

The installed version of office further complicates this.  This driver comes included with excel.  This is the version I had installed.  I thought at first that this might be the problem, but it turns out it was the same version I had working in another environment.  So this was probably a red herring.

You’ll need to install the Access Database Engine 2010 Redistributable in order to get the correct ACE driver.  You should end up with this:

Unfortunately, you can’t tell if it’s the 32 bit version installed, or the 64.  You may be able to intuit it from the registry.

For 64-bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot

For 32-bit:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\14.0\Access Connectivity Engine\InstallRoot

But that doesn’t help, as an unsuccessful uninstall had left registry keys on my local machine.

The solution:

So it turned out the solution was to reinstall the 32 bit version, and uninstall it.  I then reinstalled the 64 bit version, but oddly didn’t have to specify /quiet on this install.  I did it on my local machine, so I could use an integrated workspace (spinning up SSAS when launching Visual Studio).  I then had to go to the SSAS server I’d installed, and repeated the same process.  So in short, the 64bit driver works while excel is 32 bit.


Credit to Meagan Longoria @ DataSavvy. This post has some good details:



Far better an approximate answer to the right question, which is often vague, than the exact answer to the wrong question, which can always be made precise. -John Tukey
The plural of anecdote is not data. - John Myles White

Recent Posts

RSS PowerBI blog

  • Optimize your Processes and Gain Deep Insights with Process Mining  January 25, 2022
    Process mining, provides direct data insights across an organization’s daily business processes, helping identify inefficiencies to improve how they work. Now with the preview of process mining in process advisor, leveraging Power BI Embedded , you can use your business data to produce analytics and detailed process maps, gleaning new insights into ways to optimize your business processes.
  • Power BI Report Server January 2022 Feature Summary January 24, 2022
    We’re excited to bring you a new version of Power BI Report Server this Winter! With the January 2022 update, we have a variety of new enhancements, including page and bookmarks navigators, new sorting options for legend, new formatting options for text, pie and donut chart rotations and many more.
  • Deployment pipelines- Azure DevOps extension, multiple pipelines working together, Dataflows GA January 19, 2022
    This month we have released highly-anticipated features for deployment pipelines: Azure DevOps extension, to automate your deployments and pipeline creation using Tasks in your Azure pipeline. Multiple pipelines working together, to sync the connections between items managed in different pipelines. Dataflows GA and support for linked entities