【问题标题】:Sharepoint 2013 Excel Services not rendering Power View reports inside a workbookSharepoint 2013 Excel Services 未在工作簿中呈现 Power View 报表
【发布时间】:2013-03-07 15:43:38
【问题描述】:

我们希望能够将包含 Power View 报告的 Excel 2013 工作簿发布到 SharePoint 2013 中,并通过 Excel Services 应用程序查看它们。
目前,我们看到的不是实际报告,而是默认的 Power View 错误页面,没有任何错误消息或日志条目。

以下是一些附加信息:
1. 工作簿的其余部分(常规 excel 和 powerpivot 表)正确呈现。
2. 在 SharePoint 文档库中创建的 Power View 报告(RDLX 报告)正确呈现。 3. PowerPivot 和 Power View 根据官方分步指南重新配置和验证。

是否有人对我们可能遗漏或做错了什么有任何想法?
提前致谢。

编辑:我做了很多调试,终于找到了相关的错误信息。这是Microsoft.AnalysisServices.SPAddin.ReportGallery.SnapshotHandler.RegisterGlobalExtensionHandlers() 方法中的NullReferenceException。此异常仅在应用程序池重置后和我将 XLSX 工作簿上传到文档库时引发一次。
我检查了 .NET Reflector 中的方法代码,似乎找到了引发异常的部分。

CustomCaptureSection customCaptureSection = (CustomCaptureSection)ConfigurationManager.GetSection("ReportGalleryCustomCapture");
SnapshotHandler.MaxSnapshotsCount = customCaptureSection.MaxSnapshotsCount;
SnapshotHandler.SnapshotCaptureTimeoutS = (long)((int)customCaptureSection.SnapshotCaptureTimeoutSeconds);
SnapshotHandler.CreateProcessMethodForSnapshot = customCaptureSection.CreateProcessMethodForSnapshot;

据我了解,运行时无法从配置中获取该部分。我试图在 SharePoint 配置单元和 inetpub 中找到部分名称,但没有成功。还有其他地方可以查找配置文件吗?或者有人可以验证此部分是否存在?
谢谢。

【问题讨论】:

    标签: sharepoint sharepoint-2013 powerpivot powerview


    【解决方案1】:

    如果工作簿是本地存储,则您的主机配置处于 Office Web Apps Server 视图模式(SharePoint Server 配置为使用 Office Web Apps Server 呈现工作簿),并且您的工作簿在 Excel Web App 电源视图表中打开不可见。这是你的模式吗?它们在 Skydrive 上也不可见。

    【讨论】:

    • 不,这不是我的情况。 SharePoint 配置为使用 Excel Services,因此呈现 Power View 报告应该没有问题。
    • 是的,它说 On Premise + Excel Services 应该呈现交互式 Power View 报告。
    • 我会尝试在我们的系统上复制它并回复您。我忘了问是否在创建/查看文件的 excel 应用程序中启用了 Powerview 加载项和 PowerPivot?
    • 谢谢,感谢您的帮助!
    猜你喜欢
    • 1970-01-01
    • 2014-08-15
    • 2014-01-26
    • 1970-01-01
    • 2015-10-04
    • 2015-05-14
    • 1970-01-01
    • 1970-01-01
    • 2023-03-24
    相关资源
    最近更新 更多