客户端渲染过程中发生错误 [英] An error occurred during client rendering

查看:62
本文介绍了客户端渲染过程中发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一份可以正常工作的报告.我创建了该报告的新版本,具有两个级别的分组,在 Visual Studio 中完美运行.我将它部署到服务器(在 SharePoint 集成模式下).报告运行了一段时间(显示微调器),然后出现错误:

I have a report which works without problems. I created a new version of that report with two levels of grouping, which works perfectly in Visual Studio. I deployed it to the server (in SharePoint integration mode). The report runs for a while (displaying the spinner) and then I get the error:

客户端渲染过程中发生错误

An error occurred during client rendering

所以它似乎在整理数据,但在尝试渲染时卡住了.

So it appears to collate the data but chokes when trying to render it.

我可以将来自服务器的报告直接呈现为 PDF 和 Excel,并且可以正确呈现.只是当它尝试在浏览器中呈现时,它才不呈现.

I can render the report from the server directly to PDF and Excel and that renders correctly. It is just when it tries to render in the browser that it doesn't render.

Reporting Services 日志只是表明它处理了报告并且没有任何错误.

The Reporting Services log simply shows that it processed the report and doesn't have any errors.

有没有人知道可能导致这种情况的任何线索?

Has anyone got any clues to what might cause this?

推荐答案

在 Visual Studio 中渲染为 HTML 时(在 VS 中渲染后使用保存按钮)它给了我以下错误消息:

When rendering to HTML in Visual Studio (using the save button after rendering in VS) it gave me the following error message:

本地报告处理过程中发生错误.

An error occurred during local report processing.

索引超出范围.必须为非负且小于集合的大小.

Index was out of range. Must be non-negative and less than the size of the collection.

参数名称:索引

我发现 这篇文章 这表明它与页眉或页脚中的项目有关页眉或页脚太大,特别是提到图像.我在标题中有一个图像.我的图像看起来不错,但是当它应该向左齐平时离左边距 0.00475 厘米(并且在复制此报告的报告中向左齐平).我将其更改为位于 0,0 处,并且报告现在以 HTML 格式呈现.

I found this post which suggested that it was to do with items in the header or footer being to big for the header or footer, and particularly mentions images. I have an image in the header. My image looked fine but was 0.00475cm in from the left margin when it should be flush left (and was flush left in the report that this report was copied from). I changed it to be positioned at 0,0 and the report now renders in HTML.

它的小事...

这篇关于客户端渲染过程中发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆