Module could not be loaded Ghost Script after deploying on IIS

371 Views Asked by At

I have Ghostscript installed on my machine(with windows 10) and it is working properly with visual studio IIS Express on local, but after hosting application on server IIS, it throws exception Module could not be loaded. and i have installed Ghostscript 64 and 32 bit both on server.

Exception type: System.Exception\r\nMessage : Module could not be loaded.\r\nInerExceltion : \r\nStacktrace:\r\n at Microsoft.WinAny.Interop.DynamicNativeLibrary..ctor(Byte[] buffer)\r\n at Ghostscript.NET.GhostscriptLibrary..ctor(GhostscriptVersionInfo version, Boolean fromMemory)\r\n at Ghostscript.NET.Processor.GhostscriptProcessor..ctor(GhostscriptVersionInfo version, Boolean fromMemory)\r\n at Ghostscript.NET.GhostscriptDevice.Process(GhostscriptVersionInfo ghostscriptVersion, Boolean fromMemory, GhostscriptStdIO stdIO_callback)\r\n

0

There are 0 best solutions below