This is a migrated thread and some comments may be shown as answers.

Generating reports from multithreaded applications

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 30 Sep 2009, 07:20 AM

Hi guys,

I am working on an application which uses Telerik Reports to generate reports using the PDF rendering extension. The reporting logic in the application allows the users to schedule the reports generation. Because of performance and scalability reasons, the reports are generated (rendered to PDF) each on a different thread.

Now, imagine that different users schedule the same report but with different parameters to run at the same time. We would then have multiple calls to the Telerik.Reporting.Processing.ReportProcessor.Render method from different threads, passing to each call a different instance of the same Telerik.Reporting.Report class. It seems that there are some problems with this scenario. The reports will be rendered, but some of them with errors like "An error has occured while processing TextBox 'TextBox1': Index was outside the bounds of the array.".

I believe that thread safety is a very important functionality, therefore I hope you have a workaround for this or at least consider fixing it as soon as possible.

Regards,

Daniel

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 30 Sep 2009, 04:19 PM
Hello Daniel,

We've fixed known issues in multi-threaded applications in Q3 2008 and Q2 releases. Since we're not sure which version you're using, please upgrade to the latest one (Q2 SP1) and if still having problems, please prepare a sample project showing the problem, open a support ticket and attach it there so we can investigate what is going on. Once we review it, we would be able to provide you with more info.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or