Power Pivot无法从数据模型中获取数据

时间:2014-11-09 20:35:10

标签: powerpivot

我从2014年9月开始使用我的电脑并且真的想在Excel中使用Power Pivot。我有Windows 8.1 64位独立运行Excel 2013 32bit(2014年9月购买)

我从来没有能够加载Power Pivot,加载项出现在功能区上但只产生下面描述的错误。

我安装了MySQL,Visual Studio 2010 for Office Runtime(x64),Open Office只启用了文本。

我运行的配置分析工具(OffCAT)只显示了Outlook的问题,这很好(我想!)因为我没有使用它并重新安装了Excel和加载项。

如果有人能够阐明或解决这个问题,我们将不胜感激。我已经在其中一个配置文件中读到了某个地方(忘了书签)关于编辑脚本,因为可能存在意外的“空间”。在代码中,如果我能找到我读到的地方,那可能有助于或解决这个问题。我看到有人在几个月前在其他地方发布了完全相同的错误,但没有得到答案,所以这可能无法纠正。

以下是我收到的错误:

"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."

当我关闭此错误时,会出现另一个框:

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.

当我点击'详情'出现了这个:

============================
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)
============================

1 个答案:

答案 0 :(得分:1)

我在Mr.Excel收到了一个名为'scottsen'的人的指针,他建议我重新安装Microsoft.Net 4框架。

这就是我所做的,现在它的工作正常(直到我找到一种方法来打破它!)。

案件解决了。