Page 1 of 1
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Fri Jul 10, 2009 1:57 am
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,
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Sat Jul 11, 2009 12:34 am
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.
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Mon Jul 13, 2009 12:40 am
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
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Thu Jul 16, 2009 3:25 am
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.
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Thu Jul 16, 2009 10:33 am
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.
StiReport.GetReportFromAssembly Index was outside the bounds of the array
Posted: Mon Jul 20, 2009 4:53 am
by Edward
Hi Jono,
You are welcome
Please let us know if any additional help is required.
Thank you.