StiDataIndicatorValue.CleanCache() Error

Stimulsoft Reports.BLAZOR discussion
Post Reply
admin@secsol.co.uk
Posts: 16
Joined: Wed Jun 01, 2022 8:26 am

StiDataIndicatorValue.CleanCache() Error

Post by admin@secsol.co.uk »

I have upgraded to version 2023.3.4 and I keep getting the following error appear in the function StiDataIndicatorValue.CleanCache()

Code: Select all

System.TypeLoadException
  HResult=0x80131522
  Message=Could not load type 'SixLabors.ImageSharp.Drawing.PolygonClipper.ClippablePath' from assembly 'SixLabors.ImageSharp.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d998eea7b14cab13'.
  Source=Stimulsoft.Report
  StackTrace:
   at Stimulsoft.Report.Dashboard.Helpers.StiSimpleShadowCache.Clean(String appKey) in Stimulsoft.Report.Dashboard.Helpers\StiSimpleShadowCache.cs:line 85
   at Stimulsoft.Report.Dashboard.StiCacheCleaner.Clean(String reportKey) in Stimulsoft.Report.Dashboard\StiCacheCleaner.cs:line 42
   at Stimulsoft.Report.Dashboard.StiCacheCleaner.Clean(IStiApp app) in Stimulsoft.Report.Dashboard\StiCacheCleaner.cs:line 24
   at Stimulsoft.Report.StiReport.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Finalize()
admin@secsol.co.uk
Posts: 16
Joined: Wed Jun 01, 2022 8:26 am

Re: StiDataIndicatorValue.CleanCache() Error

Post by admin@secsol.co.uk »

It turns out this error was because I replaces the System.Drawing import in my app with a different package that was not Windows dependent.

So either the Blazor reporting is dependent upon System.Drawing or it is clashing with with the other package.
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: StiDataIndicatorValue.CleanCache() Error

Post by Lech Kulikowski »

Hello,

Thank you for the information.
Post Reply