While we appreciate comments from our users, please follow our posting guidelines. Have you tried the Cyotek Forums for support from Cyotek and the community?

Styling with Markdown is supported

Original Comment

Gravatar

Rafi

# Reply

Hi. I am getting this error when i try to convert pdf2image(.GetImage()). The Error is "Unable to find an entry point named 'gsapi_new_instance' in DLL 'gsdll32.dll'.". Note : Web Application bin dir have gsdll32.dll and i am not installed ghostscript.exe. How can i get it?

Gravatar

Richard Moss

# Reply

As I've already noted to another commenter, I haven't tested this on a server environment or in a web application and so I can't assist on deployment issues. The error would indicate that while a DLL is present and loaded, it doesn't actually contain the function that is being requested of it. That would most likely indicate the wrong version of Ghostscript being loaded or perhaps a custom build that doesn't export the function. Or it could be an error in the C# function declaration. Sorry for not being specific, but there's no single cause.

od

# Reply

I had the same issue. I fixed it by installing an older version (8.54). As far as deployment is concerned, you can copy the folder gs\gs8.54\lib independently and set an environment variable "GS_LIB" with the value pointing to the lib folder.