Upgrade to .net 7 breaks reporting
Upgrade to .net 7 breaks reporting
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
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
-
- Posts: 6329
- Joined: Tue Mar 20, 2018 5:34 am
Re: Upgrade to .net 7 breaks reporting
Hello,
Please send us a sample project that reproduces the issue for analysis.
Thank you.
Please send us a sample project that reproduces the issue for analysis.
Thank you.
Re: Upgrade to .net 7 breaks reporting
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 108 times
-
- StimulsoftError.mp4
- (1.8 MiB) Downloaded 116 times
-
- Posts: 800
- Joined: Tue Sep 07, 2021 10:11 am
Re: Upgrade to .net 7 breaks reporting
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
Re: Upgrade to .net 7 breaks reporting
Ok Thank you
-
- Posts: 800
- Joined: Tue Sep 07, 2021 10:11 am
Re: Upgrade to .net 7 breaks reporting
Hello,
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#10876
We need some additional time to investigate the issue, we will let you know about the result.
Thank you.
#10876
Re: Upgrade to .net 7 breaks reporting
Hello,
Still no solution?
Still no solution?
-
- Posts: 800
- Joined: Tue Sep 07, 2021 10:11 am
Re: Upgrade to .net 7 breaks reporting
Hello,
We are still working on the problem.
We will let you know when the solution is available.
Thank you.
We are still working on the problem.
We will let you know when the solution is available.
Thank you.
Re: Upgrade to .net 7 breaks reporting
Hello,
still no solution, this has been over 1 week now
still no solution, this has been over 1 week now
-
- Posts: 6329
- Joined: Tue Mar 20, 2018 5:34 am
Re: Upgrade to .net 7 breaks reporting
Hello,
We are still working on the problem. We will let you know when the solution is available.
Thank you.
We are still working on the problem. We will let you know when the solution is available.
Thank you.