GroupdocsViewer aspnet core app can not open excel files

Hello,

We’re using groupdocs viewer 21.7.0. We create an application based on GitHub - groupdocs-viewer/GroupDocs.Viewer-for-.NET-UI: UI - User Interface for GroupDocs.Viewer for .NET document viewer and automation API. this project and https://github.com/groupdocs-viewer/GroupDocs.Viewer-for-.NET/tree/master/Demos/ASP.NET%20Core/src this project(used only for dockerfile)

We’re currently can view doc and docx files but when we tried view xls and xlsx it gives type initialize error.
I’m sending current dockerfile and errors as attachment. Do you have any opinion what cause this?

files.7z (43.4 KB)

Best Regards

@htavukcu

Welcome to GroupDocs Forum!

Can you please attach the sample file that you’re trying to view?

Hello,

Sample files are attached below

samplefiles.7z (12.1 KB)

@htavukcu

Thank you for attaching the sample files. Unfortunately, I can’t reproduce the same issue when running the app using the modified Dockerfile that you’ve attached previously. Can you please update this sample_app.zip (17.4 KB) and Dockerfile or Dockerfile1 so we could reproduce the issue on our side?

As a side note, we’ve faced similar issues when libgdiplus package wasn’t installed. We do require libgdiplus to be installed because we’re using System.Drawing that is using libgdiplus underhood on Linux.