SSAS ACE.OLEDB errors

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: https://datasavvy.me/2017/07/20/installing-the-microsoft-ace-oledb-12-0-provider-for-both-64-bit-and-32-bit-processing/

 

 

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

  • End-User Filtered Export capabilities now available February 13, 2019
    For the third straight week, we’re delivering on the item I’ve heard more end-user feedback around than any other we’d promised to deliver in the October blogpost.  At long last, you and your users will be able to export their Power BI reports to either PDF or PowerPoint and have their selections on the screen […]
  • Incremental refresh & query folding February 13, 2019
    As part of our strategy to converge enterprise and self-service BI on Power BI as a single platform, we announced the public preview of incremental refresh last summer. While there is still more work to be done to get it to general availability, we have seen strong uptake of incremental refresh. Incremental refresh is a […]
  • Microsoft a Leader in Gartner’s Magic Quadrant for Analytics and BI Platforms for 12 consecutive years February 13, 2019
      We’re very grateful to our customers, our community members, and our partners for making Power BI what it is today.   Thank you.   The Power BI Team       Get the 2019 Gartner’s Magic Quadrant for Analytics and Business Intelligence Platforms report* to learn more.             *This graphic […]