Can't download report through command

Stimulsoft Reports.WEB discussion
Post Reply
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Can't download report through command

Post by jlorue »

Hi,
We are trying to download a report through commands (not from viewer), but we can´t.
We are receiving this message:

'StiPainter for \'Stimulsoft.Report.Components.StiText\' is not found!

What should we do?
Lech Kulikowski
Posts: 6238
Joined: Tue Mar 20, 2018 5:34 am

Re: Can't download report through command

Post by Lech Kulikowski »

Hello,

Could you explain your issue in more detail?
Please send us a sample project that reproduces the issue for analysis.

Thank you.
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Re: Can't download report through command

Post by jlorue »

Hi Lech,

Please find attached the report, and let me introduce you to the problem
- When I manually force the variable "var1" to a specific value, it displays all rows related to it.
- Those rows with large text in the "Observations" field are properly enlarged so the text is fully displayed (I set word wrap, grow to height, can grow and can shrink as true to be sure it can be displayed)
- When I download the report from the viewer, the report looks perfect. So, no problem at this point.

The problem is this: I need to export the report without using the viewer to attach it to a mail, but we can´t do it as we need.
- We are following the guidleines of this link https://www.stimulsoft.com/en/samples/r ... -from-code)
- Also, we are passing the variable var1 so it can be filtered according to it.
- Using this report (example.mrt), we get the error message 'StiPainter for \'Stimulsoft.Report.Components.StiText\' is not found!
- HOWEVER, IF I SET grow to height, can grow and can shrink as FALSE IN ALL FIELDS, we can export it and attach it to the mail!!!! BUT, the height of the rows ARE NOT ENLARGED in the case of large texts, so we cannot fully read the whole text (that means this is not a solution)

What should we do??
Attachments
example.mrt
(38.41 KiB) Downloaded 79 times
Last edited by jlorue on Fri May 27, 2022 8:03 am, edited 2 times in total.
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Can't download report through command

Post by Max Shamanov »

Hello,

We couldn't connect to your database. Please send us test data for your report.

Thank you.
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Re: Can't download report through command

Post by jlorue »

Hi Max,
It's difficult for me to understand how to send you data test. Please find attached my best try.
Attachments
Example1.xlsx
(13.45 KiB) Downloaded 85 times
example1.mrt
(38.15 KiB) Downloaded 84 times
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Can't download report through command

Post by Max Shamanov »

Hello,

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

Thank you
jlorue
Posts: 126
Joined: Thu Apr 15, 2021 6:33 pm

Re: Can't download report through command

Post by jlorue »

Thanks Max
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: Can't download report through command

Post by Max Shamanov »

Hello,

We couldn't reproduce the problem on our samples.
Please send us a sample project that reproduces the issue for analysis.

Thank you.
Post Reply