Page 1 of 2
Speed Issue to Create Report
Posted: Thu Apr 18, 2013 11:22 am
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
Re: Speed Issue to Create Report
Posted: Thu Apr 18, 2013 12:01 pm
by HighAley
Hello.
Sorry, we couldn't reproduce your issue.
Could you describe it more detailed.
Thank you.
Re: Speed Issue to Create Report
Posted: Thu Apr 18, 2013 12:28 pm
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
Re: Speed Issue to Create Report
Posted: Fri Apr 19, 2013 12:55 pm
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.
Re: Speed Issue to Create Report
Posted: Mon Apr 22, 2013 7:26 am
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
Re: Speed Issue to Create Report
Posted: Mon Apr 22, 2013 1:21 pm
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.
Re: Speed Issue to Create Report
Posted: Tue Apr 23, 2013 9:52 am
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
Re: Speed Issue to Create Report
Posted: Tue Apr 23, 2013 1:33 pm
by nicegaurav
Hi,
Have you got the problem ?
Re: Speed Issue to Create Report
Posted: Wed Apr 24, 2013 6:29 am
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..
Re: Speed Issue to Create Report
Posted: Thu Apr 25, 2013 11:02 am
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.