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
IIS User now has full control on that folder.
Well, it is actually "C:\Program Files (x86)\gs\gs9.10\bin" since it is the 32 bit version

Still getting same error

More information:

the outer error I am getting is

Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 74: Dim img As Image = objRasterizer.GetPage(desired_x_dpi, desired_y_dpi, 1)
Line 75: Dim ms As New MemoryStream()
Line 76: img.Save(ms, System.Drawing.Imaging.ImageFormat.Png) <<<<<<<<<<<<<Highlighted
Line 77:

Line 78: imgPreview.Src = "data:image/png;base64," & Convert.ToBase64String(ms.ToArray)

I think this error comes from the error I listed above which only appears in debug mode.

Viewing all articles
Browse latest Browse all 393

Trending Articles



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