Reputation: 377
I have Ghostscript installed on my machine(with windows 10) and it is working properly with visual studio IIS Express, but after hosting application on same machine Local IIS, it throws exception GhostscriptLibraryNotInstalledException. Please help me to find issue, thanks in advance.
Upvotes: 0
Views: 1607
Reputation: 81513
there is Ghostscript.NET.dll on hosted bin directory
This is not enough, Ghostscript.NET.dll
is not the ghostscript dll. ghostscript is under a certain licensing and is not distributed with Ghostscript.NET, you need gsdll32.dll
or gsdll64.dll
in your published bin directory or have it installed in such a way that your IIS can find it
I personally, (to make it easy) just publish with the dll included
Upvotes: 1