【发布时间】: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