Exception In Blazor App When Using Stimulsoft.Dashboards.Web.NetCore

Stimulsoft Dashboards.WEB discussion
Post Reply
billy.goforth
Posts: 24
Joined: Fri Apr 09, 2021 1:44 pm

Exception In Blazor App When Using Stimulsoft.Dashboards.Web.NetCore

Post by billy.goforth »

I'm currently using the Stimulsoft.Reports.Blazor to so I can show Stimulsoft Reports in my Blazor Applications.

This works fine, but when trying to load a dashboard, it throws exception, and the fix I found in this forum was to install Stimulsoft.Dashboards.Web. Ok, I'm on .Net Core 5 and the nuget has two options for this:
Stimulsoft.Dashboards.Web
AND Stimulsoft.Dashboards.Web.NetCore

Seeing as I'm currently using .Net Core (5) I used the .NetCore version.
When spinning up the app I get the below exception.

Exception:
System.Reflection.ReflectionTypeLoadException
HResult=0x80131602
Message=Unable to load one or more of the requested types.
Could not load type 'Stimulsoft.System.Web.UI.WebControls.Panel' from assembly 'Stimulsoft.System.Web, Version=2021.4.3.0, Culture=neutral, PublicKeyToken=ebe6666cba19647a'.

--- RESEARCHING ISSUE ---

After inspecting the packages, I noticed that the two assemblies below BOTH reference Stimulsoft.System.Web.dll, BUT different versions (it seems).

Stimulsoft.Dashboards.Web.NetCore (2021.4.3)
...\.nuget\packages\stimulsoft.reports.web.netcore\2021.4.3\lib\netstandard2.1\Stimulsoft.System.Web.dll

Stimulsoft.Reports.Blazor (2021.4.3) - (which contains the StiBlazorViewer to show in blazor app)
...\.nuget\packages\stimulsoft.reports.blazor\2021.4.3\lib\net5.0\Stimulsoft.System.Web.dll


Is there a workaround or way to get past this?

I need the ability to show both reports and dashboards in my Blazor Application.
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Exception In Blazor App When Using Stimulsoft.Dashboards.Web.NetCore

Post by Lech Kulikowski »

Hello,

Dashboards are not available in the Blazor version.
https://www.stimulsoft.com/en/documenta ... arison.htm

Thank you.
billy.goforth
Posts: 24
Joined: Fri Apr 09, 2021 1:44 pm

Re: Exception In Blazor App When Using Stimulsoft.Dashboards.Web.NetCore

Post by billy.goforth »

Is there a projected delivery date of dashboards in Blazor?

This is a requirement of my project.

I see they aren't available for angular either (our apps are currently on angular and we are migrating to blazor).

Is this on your roadmap?
Lech Kulikowski
Posts: 6239
Joined: Tue Mar 20, 2018 5:34 am

Re: Exception In Blazor App When Using Stimulsoft.Dashboards.Web.NetCore

Post by Lech Kulikowski »

Hello

Yes, there is the task in our to-do list but we can not say exactly when it will be added.

Thank you.
Post Reply