Upgrade to .net 7 breaks reporting

Stimulsoft Reports.WEB discussion
YoabOGTL
Posts: 9
Joined: Sun Mar 26, 2023 4:55 pm

Upgrade to .net 7 breaks reporting

Post by YoabOGTL »

Hello I have been using the reports without any issues but upgrading an existing project to .net 7 breaks Report.Web.NetCore with this error :

Method not found: 'Void SixLabors.ImageSharp.Formats.Tiff.TiffEncoder.set_Compresion(System.Nullable '1)'

I am using the latest Nuget package 2023.2.1 application is asp.net 7, didn't change the reports that have been working perfectly since .net core 3.1

This is the relevant part of my code:

// Cumulative Receipt
case 4:


report.Load(Path.Combine(_hostingEnvironment.WebRootPath + $@"\Reports\PaymentReceipt.mrt"));
((StiPostgreSQLDatabase)report.Dictionary.Databases["IPCConnection"]).ConnectionString = connectionString;
report.DataSources["HeaderInfo"].Parameters["PId"].Value = pid;
report.DataSources["Payments"].Parameters["PId"].Value = pid;
StiImage stiImage = report.GetComponents()["Image2"] as StiImage;
string q = _hostingEnvironment.WebRootPath + $@"\images\pepperpike.png";
string z = _hostingEnvironment.WebRootPath + $@"\images\logoRC.png";
if (proptypeid == 1)
{
Image myImage = Image.FromFile(z);
stiImage.Image = myImage;
}
else
{
Image myImage = Image.FromFile(q);
stiImage.Image = myImage;
}

break;

Thanks in advance
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Upgrade to .net 7 breaks reporting

Post by Lech Kulikowski »

Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.
YoabOGTL
Posts: 9
Joined: Sun Mar 26, 2023 4:55 pm

Re: Upgrade to .net 7 breaks reporting

Post by YoabOGTL »

Hello Please find attached the minimalist sample project which reproduces exactly the same error, as well as a video
Attachments
Test.7z
(58.69 MiB) Downloaded 97 times
StimulsoftError.mp4
(1.8 MiB) Downloaded 101 times
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Upgrade to .net 7 breaks reporting

Post by Max Shamanov »

Hello,

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

Thank you.
YoabOGTL
Posts: 9
Joined: Sun Mar 26, 2023 4:55 pm

Re: Upgrade to .net 7 breaks reporting

Post by YoabOGTL »

Ok Thank you
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Upgrade to .net 7 breaks reporting

Post by Max Shamanov »

Hello,

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

Thank you.
#10876
YoabOGTL
Posts: 9
Joined: Sun Mar 26, 2023 4:55 pm

Re: Upgrade to .net 7 breaks reporting

Post by YoabOGTL »

Hello,
Still no solution?
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Upgrade to .net 7 breaks reporting

Post by Max Shamanov »

Hello,

We are still working on the problem.
We will let you know when the solution is available.

Thank you.
YoabOGTL
Posts: 9
Joined: Sun Mar 26, 2023 4:55 pm

Re: Upgrade to .net 7 breaks reporting

Post by YoabOGTL »

Hello,
still no solution, this has been over 1 week now
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Upgrade to .net 7 breaks reporting

Post by Lech Kulikowski »

Hello,

We are still working on the problem. We will let you know when the solution is available.

Thank you.
Post Reply