sharepoint 2013 PowerPivot for SharePoint 2013 刷新数据时报错

来源:互联网 发布:代码编程 编辑:程序博客网 时间:2024/06/06 17:38

最近在做PowerPivot for sharepoint 2013的报表过程中,出现了下面的问题:

PivotTable Operation Failed An error occurred while working on the Data Model in the workbook.

数据透视表操作失败时发生了一个错误的工作在工作簿中的数据模型

PivotTable Operation Failed An error occurred while working on the Data Model in the workbook.

以及刷新文档库中的报表数据时,也出现了如下报错:

An error occurred while working on the Data Model in the workbook. Please try again.
We were unable to refresh one or more data connections in this workbook。
 

在工作簿中的数据模型时发生了一个错误。请再试一次。我们无法更新一个或多个工作簿中的数据连接

 

查了很多资料发现,原来是因为我在sharepoint server 2013 中,部署了office web apps 2013导致的,我们发现Excel Service 应用程序与Office Web Apps 2013的excel预览冲突。

解决的办法是在sharepoint server 2013服务器上,用管理员运行,打开sharepoint powershell,输入如下命令:

New-SPWOPISuppressionSetting -extension xlsx -action view

之后回车运行,然后再回到sharepoint文档库中,查看PowerPivot的报表,刷新后,一切正常。