New to Telerik ReportingStart a free 30-day trial

The type initializer for 'Telerik.Reporting.Processing.Common.FontContainer' threw an exception.

Environment

Product Version13.0.19.116+
ProductProgress® Telerik® Reporting

Error Message

InnerException = {System.TypeInitializationException: The type initializer for 'Telerik.Reporting.Drawing.Unit' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load ... InnerException = {System.TypeInitializationException: The type initializer for 'Gdip' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_... Message = "The type initializer for 'Gdip' threw an exception." Message = "Unable to load shared library 'libdl' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibdl: cannot open shared object file: No such file or directory"

Solution

  1. Test the approaches given in Can't use System.Drawing.Common in microsoft/dotnet:runtime.

For example, make sure you install it in your runtime and not in your dotnet build.

  1. Check Using Telerik Reporting in .NET Core Applications Blog post where

you can find some additional information for using Telerik Reporting under Linux in How do I Run it on Linux? and Wow. What about Containers? sections.

In this article
EnvironmentError MessageSolution
Not finding the help you need?
Contact Support