简体   繁体   English

Crystal Reports在应用程序中运行缓慢

[英]Crystal Reports running slow in application

In our application we use crystal reports to render the reports. 在我们的应用程序中,我们使用水晶报表来呈现报表。 There is a kind of weird behavior like the reports take longer time on the first run and faster from second. 有一种奇怪的行为,例如,第一次运行时报告花费的时间更长,而第二次运行时报告花费的时间更快。 But this is also highly inconsistent when we run with different filter conditions. 但是,当我们在不同的过滤条件下运行时,这也非常不一致。 What all could be the problem and things to be checked. 什么都可能是问题和需要检查的事情。 Any solution is highly appreciated. 任何解决方案都受到高度赞赏。

Some years ago I've had the same problem. 几年前,我遇到了同样的问题。 I tried to load a dummy report on startup, but without much effect. 我尝试在启动时加载虚拟报告,但效果不佳。 It turned out that the crystal components tried to connect a verisign URL which was blocked by the firewall appliance of my customer, so that Crystal waited until this connection timed out. 原来,Crystal组件试图连接一个Verisign URL,该URL被我的客户的防火墙设备阻止了,因此Crystal一直等到此连接超时。

When you design the report, before saving try to uncheck save data with report . 设计报告时,请在保存之前尝试取消选中save data with report Maybe that can increase the speed. 也许可以提高速度。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM