Speed Issue to Create Report

Stimulsoft Reports.NET discussion
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Speed Issue to Create Report

Post by nicegaurav »

Hi,
I am using this tool to create reports. But I am facing speed problem, I believe report creation process is very slow. Putting here code used to create report.

Code: Select all

StiReport report1 = new StiReport();
 report1.Load(templatePath);
 DataSet ds = new DataSet("Test");
  ds = GetSurr(strProductid, m_age, m_state);
  report1.Dictionary.DataSources.Clear();
  report1.RegData(ds);
  report1.Dictionary.Synchronize();
  report1.Compile();
  report1.Render();
StiPdfExportService pdfExport = new StiPdfExportService();
pdfExport.ExportPdf(report1, reportPath);
Is there any way to speed up the process or creation of report? Please do the need full, it's urgent.
Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Speed Issue to Create Report

Post by HighAley »

Hello.

Sorry, we couldn't reproduce your issue.
Could you describe it more detailed.

Thank you.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Speed Issue to Create Report

Post by nicegaurav »

Using the above code for creating the report in pdf. But the report creation time is very high.
Is there any other way to create report in pdf ?
The main issue related to speed.. :(
Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Speed Issue to Create Report

Post by HighAley »

Hello.
nicegaurav wrote:Using the above code for creating the report in pdf. But the report creation time is very high.
Is there any other way to create report in pdf ?
The main issue related to speed.. :(
What time takes report rendering?
We need to reproduce your issue to help you.
Could your send us a working project with data to reproduce it?

Thank you.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Speed Issue to Create Report

Post by nicegaurav »

Hi,
Can you please let me know the other way to create report in pdf instead of above mentioned process.

I will send you the working project with aspx page, db script and mrt file. By the mean time please let me the other way.
Thanks
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Speed Issue to Create Report

Post by HighAley »

Hello.
nicegaurav wrote:Can you please let me know the other way to create report in pdf instead of above mentioned process.

I will send you the working project with aspx page, db script and mrt file. By the mean time please let me the other way.
You still didn't send us any detailed information about the issue.
For example, how many pages are in this report.
We need to see your working project to give you any advice.

Thank you.
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Speed Issue to Create Report

Post by nicegaurav »

Hi
I am sending you the project solution with mrt file and db backup.
This report has 2 page (length) but it can grow multiple number of pages. I tried many method to generate pdf from the report and pass the path response.redirect method to open the pdf. When I export the report into pdf it will take too much time.
Please have a look how can we export the report in pdf fast?
Waiting for your response...
Thanks
Attachments
StimulsoftReport.zip
Project file and MRT
(5.57 MiB) Downloaded 605 times
TestReport.zip
Database backup
(337.16 KiB) Downloaded 409 times
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Speed Issue to Create Report

Post by nicegaurav »

Hi,
Have you got the problem ?
nicegaurav
Posts: 91
Joined: Mon Oct 15, 2012 10:03 am

Re: Speed Issue to Create Report

Post by nicegaurav »

Hi,

I have found another issue related to speed up report on this forum, In case of huge data it's performance goes down. Is there any alternative to do this... Please reply me on the same..
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Speed Issue to Create Report

Post by HighAley »

Hello.
nicegaurav wrote:I have found another issue related to speed up report on this forum, In case of huge data it's performance goes down. Is there any alternative to do this... Please reply me on the same..
You sample project works fast. We don't see any problem with it.
At first, please, try to use our latest build. There were several improvements.
When you use the huge data the rendering time slows down. It's normal.
It's impossible to process a large amount of data as fast as in your sample project.

Thank you.
Post Reply