Page 1 of 1

Angular designer on docker Linux environment

Posted: Mon Jan 11, 2021 2:32 pm
by vitek.abeln
Hello,

We are building a .Net Core API that is using "Stimulsoft.Reports.Angular.NetCore" (5.1) and "Stimulsoft.Reports.Web.NetCore" (5.1) packages along with an angular client application that is using the angular designer and viewer. We are trying to publish it into a linux docker conatiner, but with some issues. We have installed "libgdiplus" on the environment and the viewer is working now. However the designer is still throwing errors. According to our log files "Stimulsoft.Report.Dashboard.StiPredefinedColors", "Stimulsoft.Base.Drawing.StiColors" and "user32.dll" are causing issues.

Here is the exception message:
Exception: System.TypeInitializationException: The type initializer for 'Stimulsoft.Report.Dashboard.StiPredefinedColors' threw an exception.
---> System.TypeInitializationException: The type initializer for 'Stimulsoft.Base.Drawing.StiColors' threw an exception.
---> System.DllNotFoundException: Unable to load shared library 'user32.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libuser32.dll: cannot open shared object file: No such file or directory


Are we missing any packages? We have ran out of ideas.

Thank you for your reply.

Re: Angular designer on docker Linux environment

Posted: Tue Jan 12, 2021 9:02 am
by vitek.abeln
Hi,

we did some more research and apparently updating from "Stimulsoft.Reports.Angular.NetCore" (5.1) and "Stimulsoft.Reports.Web.NetCore" (5.1) to version 5.2 did the trick.

Best regards

Re: Angular designer on docker Linux environment

Posted: Fri Jan 15, 2021 12:21 pm
by Lech Kulikowski
Hello,

Thank you for the information.