Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Report Document is slow Post Reply Post New Topic
Author Message
cpn786
Newbie
Newbie
Avatar

Joined: 04 Jul 2010
Location: India
Online Status: Offline
Posts: 3
Quote cpn786 Replybullet Topic: Report Document is slow
    Posted: 04 Jul 2010 at 5:12am

Crystal Report is taking a lot of time while setting the datasource,

 I have an asp.net web application targeting .net 3.5 using visual studio 2008, applications contains crystal  reports ,Report Contains Dynamic Images,
I used custom collections to bind data to report objects, images and Datas are coming from oracle database

Eg:

 
   /*
    EmployeeInfo Class Contains Properties related to employee like FirstName,DOB,etc with an Image property its datatype is byte[] array
   */
    List<EmployeeInfo>  info=GetEmployeeDetails();

   EmployeeReport report=new EmployeeReport();
   report.SetDataSource(info);  

    above statement( report.SetDataSource(info) ) is taking a lot of time while accessing the report first time, if the application is idle for some time then again same issue is happending
Please give me a correct solutions                                                                   

Innovation
IP IP Logged
Emir_W
Senior Member
Senior Member
Avatar

Joined: 25 Apr 2010
Online Status: Offline
Posts: 228
Quote Emir_W Replybullet Posted: 06 Jul 2010 at 4:36pm
just share an information.
 
i always put a pict with small file size, usually .jpg format, into my reports.
because it's more easier for my CR to print/preview the result rather than standard file size.
 
you can check for CR performance from (i'm using CR XI):
- click menu Report
- click 'Performance Information...'  (last menu/bottom)
 
and you'll see some informations regarding the performance for your reports.
 
 
hope can help.
 
Emir W
IP IP Logged
cpn786
Newbie
Newbie
Avatar

Joined: 04 Jul 2010
Location: India
Online Status: Offline
Posts: 3
Quote cpn786 Replybullet Posted: 10 Jul 2010 at 11:20pm
Finally i found an alternate solution(not the right one any way i have to satisfy my client),I just used an asynchronous webservice call, in that web method i will load a temporary report and bind to an empty datatable then dispose the report object , it will load the corresponding Crystal assemblies,so whenever user invoking for a report all crystal assemblies are all ready loaded so it will render quickly

Edited by cpn786 - 10 Jul 2010 at 11:22pm
Innovation
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.