Hello,
I’m using Aspose. Words 18.8.0 for creating pdf from doc templates. My app is written in C# and runs on. Net Core 2.1.
Everything works fine on my development PC with Windows 7 under Administrator account. Problem occurs after deployment on server.
Failing process is hosted by IIS 8 on Windows server 2012. I read your info at this page
https://docs.aspose.com/display/wordsnet/Installation#Installation-InstallingAspose.Wordsfor.NETthroughNuGet
about necessity to use Full Trust permissions, but this mechanic no longer exists in.net core. How should I set my server environment to make it work?
Thank you very much.
System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKImageInfo’ threw an exception. —> System.DllNotFoundException: Unable to load DLL ‘libSkiaSharp’ or one of its dependencies: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
at SkiaSharp.SkiaApi.sk_colortype_get_default_8888()
at SkiaSharp.SKImageInfo…cctor()
— End of inner exception stack trace —
at Aspose.Words.Document.( , SaveOptions )
at Aspose.Words.Document.(Stream , String , SaveOptions )
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)