Quantcast
Channel: Ghostscript.NET
Viewing all articles
Browse latest Browse all 393

New Post: Additional information: An error occured when call to 'gsapi_new_instance' is made: -100

$
0
0
Is there any update on the "An error occured when call to 'gsapi_new_instance' is made: -100" exception with GhostscriptRasterizer?

I have the following method in a Web service with the last statement (rasterizer.Open(ms);) throwing the abovementioned exception:
public void Resterize(byte[] buffer)
{
    MemoryStream ms = new MemoryStream(buffer);
    lock(this)
    {
       GhostscriptRasterizer rasterizer = new GhostscriptRasterizer();
       rasterizer.Open(ms);
       ....................................................
    }
    ....................................................
    ....................................................
}
Occasionally the same statement would throw: "An error occured when call to 'gsapi_init_with_args' is made: -15" exception.

I am using Ghostscript.Net version 1.1.8.0.

Viewing all articles
Browse latest Browse all 393

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>