mrt file size causes connection loss

Stimulsoft Reports.NET discussion
Post Reply
tester
Posts: 4
Joined: Tue Dec 14, 2010 9:25 am

mrt file size causes connection loss

Post by tester »

Hi,
When I create a report with the mrt file size above 900kb, the report is not generated and the internet explorer "Connection lost" screen eventually comes up. But if the mrt size is below 900kb, the report is generated with no issues at all. Mind you, this is the size of the mrt report and NOT the actual PDF generated. The size of the pdf generated can grow to above 1.5mb so far with no issues as long as the mrt file is below 900kb.
Is there a limit to the size of the mrt. I have tried it on both windows server 2003 and windows 7 with the same results.
Product: Stimulsoft Reports.Net
Version: 2009.1.400 from 14 April 2009
.Net Framework v2.0.50727
JorisWils
Posts: 86
Joined: Tue Jun 30, 2009 7:49 am
Location: belgium

mrt file size causes connection loss

Post by JorisWils »

Hi I have reports >1.5MB without a problem ( without images )

You are working with IIS right?

Maybe you should read this: http://forum.stimulsoft.com/default.aspx?g=posts&t=3954
Using Stimulsoft since 2007
tester
Posts: 4
Joined: Tue Dec 14, 2010 9:25 am

mrt file size causes connection loss

Post by tester »

Hi JorisWils,
Thanks for the quick reply.
Yes I am using IIS6 and IIS7 on windows 7. I just checked with windows task manager and the CPU Usage shoots up to 100% from when I click the generator link to when it loses connectivity. I tried to change the default AppPool time outs but that didn't work. I will now try to see how to allocate cpu time to the application am running (I will google how - but if you know please let me know).
Thanks
tester
Posts: 4
Joined: Tue Dec 14, 2010 9:25 am

mrt file size causes connection loss

Post by tester »

JorisWils,
Just to be clear, the reports that are greater than 1.5MB are the actual mrt file and not the final PDF created, right? I checked through task manager for the performance of the server when creating the PDF and CPU Usage shoots up to 100% during the time the application is attempting to create the PDF and it stays there till the process fails (connection lost).
Thanks.
JorisWils
Posts: 86
Joined: Tue Jun 30, 2009 7:49 am
Location: belgium

mrt file size causes connection loss

Post by JorisWils »

Jep... mrt files larger than 1.5MB

mayby you can find a sollution here: http://www.iis.net/ConfigReference/syst ... ls/add/cpu
Using Stimulsoft since 2007
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

mrt file size causes connection loss

Post by Ivan »

Hello,

Please try to check the performance of your project on the latest build of our product.
Also you must remember that rather big capacity of the server needed for creating reports and quite big amount of memory for the process.

Thank you.
tester
Posts: 4
Joined: Tue Dec 14, 2010 9:25 am

mrt file size causes connection loss

Post by tester »

Thanks Ivan,
I looked at the performance of the server on running the report and CPU Usage runs very high for the large files but is reasonable for the smaller ones. So my question is, do you have sample code or projects or point me to documentation showing how to merge 2 or more mrt reports into one. Am trying to do what this poster here is doing but I need to know some of the terms being used.

Thanks.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

mrt file size causes connection loss

Post by Ivan »

Hello,

There are several ways to solve the issue.
1. You can create an empty base report, and add your reports as subreports (or use external subreports). Then you need to compile and render base report.
2. You can render all the reports separately, and then add all the rendered page in a new blank report.

Unfortunately, at this moment these features are not described in our documentation.
If you need a sample, please send a request to support@stimulsoft.com.

Thank you.
Post Reply