.NET中的Crystal Report查看器错误 [英] Crystal Report viewer error in .Net

查看:68
本文介绍了.NET中的Crystal Report查看器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个内部编写的.Net 2.0 Performance Review应用程序,该应用程序使用Crystal Reports Viewer,以便合作伙伴可以打印/保存他们的评论.

我是CR的新手,只是继承了此应用,所以请耐心等待我.

CR查看器可以长时间很好地呈现报告.但是,由于现在是审查时间,因此使用量更大. CR查看器在早上很好地呈现了报告,但是在下午,呈现事件导致直接重定向到< b>每个人/b的通用错误页面(Web或应用程序日志中没有关于其原因的线索).谁试图打印他们的评论.

重新开始打印的唯一方法是启动"应用程序.我们无权访问Web框本身,但可以使用FileZilla FTP连接保存" web.config,以便重新启动应用程序.重新启动应用程序后,打印正常...直到第二天下午.这是下午第二天引起这个问题.

我怀疑这是一个记忆问题,因为除了通常会在下午进行之外,这是审查的关键时间.谁能提供任何有用的建议,以了解引起此问题的原因和建议的补救措施?

We have an in-house written .Net 2.0 Performance Review application that uses Crystal Reports Viewer so the associates can print/save their reviews.

I am a newbie on CR and just inherited this app so please be patient with me.

The CR viewer renders the reports fine for long stretches of time. However, now that it is review time there is heavier usage. The CR viewer rendered reports fine in the morning but in the afternoon the render event causes a redirect directly to the generic error page (nothing in web or application logs as to a clue why) for <b>everyone</b> who tries to print their reviews.

The only way to get the printing working again is to "kick start" the application. We don''t have access to the web box itself but can "save" the web.config using an FileZilla FTP connection in order to restart the application. Once the application is restarted, the printing works fine...until the next afternoon. This is the second day that the afternoon brings about this issue.

I suspect it is a memory issue since it is crunch time for reviews in addition to the fact that it usually happens in the afternoon. Can anyone offer any helpful suggestions as to what would cause this and suggested remedies?

推荐答案

UPDATE:
显然,CR无法释放资源,并且一段时间后无法渲染.从其他博客等中可以看到,这是一个已知的CR问题.
我将dispose()移到了finally块,它似乎释放了.
UPDATE:
Apparently CR isn''t releasing the resources and after some time, fails to render. From what I can see from other blogs etc, this is a known CR issue.
I moved the dispose() to the finally block and it seems to release.


这篇关于.NET中的Crystal Report查看器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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