Power pivot can't get data from the data model

5foot9

New Member
Joined
Nov 19, 2013
Messages
15
Hi,
I have also posted here - https://social.technet.microsoft.co...cant-get-data-from-the-data-model?forum=excel

I've had my PC since Sept 2014 and really want to use Power Pivot in Excel. I have Windows 8.1 64bit running stand alone Excel 2013 32bit (purchased Sept 2014)
I have never been able to get Power Pivot to load, the Add-in appears on the ribbon but only produces the errors described below.
I have MySQL installed, Visual Studio 2010 for Office Runtime (x64), Open Office with text only enabled.
I've run the Configuration Analyzer Tool (OffCAT) which only showed a problem with Outlook which is fine ( I think! ) as I don't use it and reinstalled both Excel and the add-in.
If anyone can shed some light on or solve this problem it would be greatly appreciated.

I've read somewhere (forgot to bookmark) about editing script in one of the config files as there could be an accidental 'space' in the code, if I could find where I read that maybe that would help or solve this. I see somebody posted the exact same error elsewhere a few months back but received no answer so maybe this can't be rectified.
Here are the errors I recieve:

"We couldn't get data from the Data Model. Here's the error message we got:

The type initializer for 'Microsoft.Analysis.Services.XmlaClient' threw an exception.

Configuration system failed to initialize.

Root element is missing. (C\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine\config)

Root element is missing."


When I close this error another box appears:


'Sorry, PowerPivot can't openthe Data Model because there was a COM exceptionwhile opening.
You might be opening a workbook on a corrupt installation of excel. Click Details for more information.'


When I click 'Details' this appears:
============================
Error Message:
============================

Object reference not set to an instance of an object.

============================
Call Stack:
============================

at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.CannotUpgrade(GeminiWorkbook geminiWb, WorkbookConnection wbConn, String& message)
at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSandboxAfterConnection(String errorCache)
at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSafeSandboxAfterConnection(String errorCache)
at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadOLEDBConnection(Boolean raiseCompleteEvent, String errorCache)

============================
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Well, that sounds frustrating :)

It reads to me like C\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine\config is corrupt, which is in theory, not really part of the office install. Maybe re-install .net ?!

Maybe open that file and see how she is lookin!?

Not one I have seen before.
 
Upvote 0
Yes very frustrating!

Thank you so much for that piece of advice, I'll try it out and let you know how I get on.

I really know nothing when it comes to the tech side of these things so thanks again!
 
Last edited:
Upvote 0
Thanks scottsen you was right on the money!

I re-installed and it works fine now, really appreciate your help, so pleased its working now - just need to learn how to use it.

Regards with the utmost gratitude and best wishes :biggrin:
 
Upvote 0

Forum statistics

Threads
1,223,320
Messages
6,171,434
Members
452,402
Latest member
siduslevis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top