We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Cells throws exception "The type initializer" for AutoFitColumns function

AutoFitColumns function throws an exception “The type initializer” on the Linux server, I don’t see any issues with windows OS. Can someone please help me with this issue?

.netcore version - 6
Aspose.Cells version - 22.3.0.0

image.png (14.5 KB)
image.png (10.2 KB)

@navnathshinde48,

Please note, libgdiplus does not work well in linux. So, we migrated the graphics library to SkiaSharp recently especially for linux os. We recommend you to upgrade to a version >= Aspose.Cells 22.10.1, See the document for your reference.

Hope, this helps a bit.