Page 1 of 1

StiDataIndicatorValue.CleanCache() Error

Posted: Mon Sep 25, 2023 9:19 am
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()

Re: StiDataIndicatorValue.CleanCache() Error

Posted: Mon Sep 25, 2023 10:52 am
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.

Re: StiDataIndicatorValue.CleanCache() Error

Posted: Mon Sep 25, 2023 12:05 pm
by Lech Kulikowski
Hello,

Thank you for the information.