Index was outside the bounds of the array in Designer

Stimulsoft Reports.WEB discussion
Post Reply
mrett2004
Posts: 2
Joined: Tue Jun 28, 2022 7:35 am

Index was outside the bounds of the array in Designer

Post by mrett2004 »

Dear Support
when I open the report in web designer I receive this error message (Index was outside the bounds of the array).
the file can be opened in the desktop designer.

I have attached the solution.
Attachments
StiDesigner.zip
(30.72 MiB) Downloaded 169 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Index was outside the bounds of the array in Designer

Post by HighAley »

Hello,

The Business Objects are registered in the report.
You should register the business objects in the report after loading it with code like this:

Code: Select all

stireport.RegBusinessObject("DataSet", set);
 stireport.Dictionary.SynchronizeBusinessObjects(3);
Thank you.
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Index was outside the bounds of the array in Designer

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#7793
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Index was outside the bounds of the array in Designer

Post by HighAley »

Hello,

We have made an improvement.
Please, check our next build when it will be available.

Thank you.
Sherif Ahmed
Posts: 13
Joined: Fri Aug 12, 2022 8:25 pm

Re: Index was outside the bounds of the array in Designer

Post by Sherif Ahmed »

Hello,
Thank you for the new build; Opening the report is fixed
But a new issue on the designer appeared in the Arabic language
please check the below screenshots from the windows designer and the web designer

Windows
Windows.png
Windows.png (11.17 KiB) Viewed 2096 times
Web
Web.png
Web.png (25 KiB) Viewed 2096 times
in the web designer, the Arabic letters are trimmed somehow (like "الرقم" , "الق" -- second field from right), it's written right in previewing the report, but in the designer, it shows wrong)
also, the field alignment is not proper (It should be in the middle, but in the web, it's in the middle but appears to be at the bottom)

I tried to use different fonts with no luck
Is there any idea how I can fix it?

again thank you so much.
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Index was outside the bounds of the array in Designer

Post by Max Shamanov »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#7934
Sherif Ahmed
Posts: 13
Joined: Fri Aug 12, 2022 8:25 pm

Re: Index was outside the bounds of the array in Designer

Post by Sherif Ahmed »

Any update
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Index was outside the bounds of the array in Designer

Post by Lech Kulikowski »

Hello,

Unfortunately, the task is still in our to-do list.

Thank you.
Post Reply