Angular designer on docker Linux environment
Posted: Mon Jan 11, 2021 2:32 pm
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.
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.