Report designer unable to open report with large expressions in StiText it throws gdi+ error

Stimulsoft Reports.WEB discussion
ShyamPundkar
Posts: 9
Joined: Sun Sep 19, 2021 9:05 pm

Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by ShyamPundkar »

Stimulsoft version: 2020.3.2

Report with large text expression gives gdi error in report designer.
Where as the same report opens without any issue in silver light.
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by Andrew »

Hello,

Please send us this report template with test data to check the issue.

And follow the next to solve a problem rapidly we need the following information from you:
- Product name and its version;
- Detailed description of the problem and how to reproduce it;
- Your operating system, its version and localization, installed service-packs;
- Version the of Microsoft .NET Framework package installed and its localization or some other frameworks;
- A name of your development framework and its version;
- Additional information that can help us solve your problem.

Thank you.
ShyamPundkar
Posts: 9
Joined: Sun Sep 19, 2021 9:05 pm

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by ShyamPundkar »

Product name and its version;
2020.3.2 Stimulsoft web mvc
- Detailed description of the problem and how to reproduce it;
Add text box in designer and add 32000 characters as expressions. Click ok the designer gives message : generic exception in gdi+
- Your operating system, its version and localization, installed service-packs;
Windows 10 enterprise, en au
- Version the of Microsoft .NET Framework package installed and its localization or some other frameworks;
.NET 4.5.2 to 4.8
- A name of your development framework and its version;
Visual studio 2015
- Additional information that can help us solve your problem.
If I split 32k character to multiple lines. The exception is gone. we have reports configured by our clients from older version of stimulsoft e.g silverlight. Those reports won’t open now in web designer. Silverlight works perfectly fine with 32k character in a one line but stimulsoft web doesn’t
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by Lech Kulikowski »

Hello,

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

Thank you.
#5004
ShyamPundkar
Posts: 9
Joined: Sun Sep 19, 2021 9:05 pm

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by ShyamPundkar »

Sorry on update instead of 32000 characters add 32001 characters in the text box expressions

Sure Thanks!
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by Lech Kulikowski »

Hello,

Thank you for the additional information.
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by Lech Kulikowski »

Hello,

There are some fixes in that direction. Please check the last release build 2021.3.7
If the issue is still present, please send us a sample project that reproduces the issue for analysis.

Thank you.
ShyamPundkar
Posts: 9
Joined: Sun Sep 19, 2021 9:05 pm

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by ShyamPundkar »

Hi,

I tried using the latest still it throws the error.
Please find attached project. Running it will throw the below exception. it is using latest 2021.3.7. Let me know if you need more information.
The attachment error.PNG is no longer available
Attachments
error.PNG
error.PNG (45.58 KiB) Viewed 2229 times
Lech Kulikowski
Posts: 6163
Joined: Tue Mar 20, 2018 5:34 am

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by Lech Kulikowski »

Hello,

Please attach your project again.

Thank you.
ShyamPundkar
Posts: 9
Joined: Sun Sep 19, 2021 9:05 pm

Re: Report designer unable to open report with large expressions in StiText it throws gdi+ error

Post by ShyamPundkar »

Added the sample project again.
Attachments
Generic GDI Error .zip
(3.26 MiB) Downloaded 87 times
Post Reply