Type Initialization Exception is thrown on opening presentation (C# .NET)

Hi all,

I receive a System Type Initialization Exception, “The type initializer for ‘Gdip’ threw an exception.”, when trying to run the sample code for creating a powerpoint presentation at Manage Presentation|Aspose.Slides Documentation. The exception occurs in the line: presentation.Save(“NewPresentation_out.pptx”, Aspose.Slides.Export.SaveFormat.Pptx); regardless of the format selected.

I’m running v18.6

@stonefist,

I have observed the issue shared by you and request you to please share the source presentation and working sample project reproducing the issue. We will investigate the issue further on our end to help you.

Facing the same issue on a Lambda Dev test running on Linux server, do you guys have the solution?

@ankurkewl,

I have found same question from you in another thread as well where I have shared response with you. I suggest to please keep watching following thread till the issue gets resolved.