StiReport.GetReportFromAssembly Index was outside the bounds of the array

Stimulsoft Reports.NET discussion
Post Reply
Jono
Posts: 3
Joined: Fri Jul 10, 2009 1:50 am
Location: South Africa

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Jono »

When using the method StiReport.GetReportFromAssembly to load a report ,we all of a sudden get this error "Index was outside the bounds of the array", we now have had to load the reports as *.mrt. This however requires the reports to be compiled at runtime and due to the size of the reports (some mrt files are over 6MB), this takes too long, and we cant afford this in our application.

We bought this product in good faith and to date have had very dissapointing performance from it, both in the design and runtime components.
Please assist in this matter.

regards,
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Jan »

Hello,

Please check version of report assembly and report engine. Report assembly must be created and run with same version of report engine.

Thank you.
Jono
Posts: 3
Joined: Fri Jul 10, 2009 1:50 am
Location: South Africa

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Jono »

Hi Jan,

Thankyou for you response.

I will check the versions used and reply accordingly.

EDIT:
All our reports were designed using the 2008.2 build, we upgraded the runtime assemblies to 2009.1.349.0.
I redid the report using the 2009.1.349.0 assemblies and the problem is resolved for that report.

This then requires us to redesign all our reports using the 2009.1.349.0 build. Is there not some form of backwards compatibility?

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

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Ivan »

Hello,
Jono wrote:All our reports were designed using the 2008.2 build, we upgraded the runtime assemblies to 2009.1.349.0.
I redid the report using the 2009.1.349.0 assemblies and the problem is resolved for that report.
This then requires us to redesign all our reports using the 2009.1.349.0 build. Is there not some form of backwards compatibility?
Please check the Developer FAQ from our site, part "Work with compiled report", article "How to get compatibility of versions of the report generator and compiled reports".

Thank you.
Jono
Posts: 3
Joined: Fri Jul 10, 2009 1:50 am
Location: South Africa

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Jono »

Hi,

Thanks for the reply.

I will look into the FAQ.

Please consider this matter resolved.

Thankyou for the great support and capable software.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

StiReport.GetReportFromAssembly Index was outside the bounds of the array

Post by Edward »

Hi Jono,

You are welcome :)

Please let us know if any additional help is required.

Thank you.
Post Reply