View previous topic :: View next topic |
Author |
Message |
ndongo
Joined: 10 Apr 2007 Posts: 1
|
Posted: Tue Apr 10, 2007 9:17 am Post subject: Ghostscript failed with error code -100 |
|
|
Hello,
I am using Pdfsharp to convert PDF to PNG. It is working fine on my own computer (Development computer). But when i use the application on a client computer i get the error message:
************** Exception Text **************
System.InvalidOperationException: Ghostscript failed with error code -100.
at PdfSharp.Ghostscript.GS.PdfToPng(String path, Int32 page, Int32 resolution)
Please can you provide me any Informations how i can solve this Problem?
Thanks
Christian[/b] |
|
Back to top |
|
|
Stefan Lange
Joined: 12 Oct 2006 Posts: 47 Location: Cologne, Germany
|
Posted: Wed Apr 18, 2007 10:04 pm Post subject: |
|
|
PDFsharp cannot create PNG files from PDF, it uses Ghostscript. You must download and install Ghostscript on the client computer. |
|
Back to top |
|
|
xxysk
Joined: 24 Apr 2007 Posts: 6
|
Posted: Fri Apr 27, 2007 8:53 am Post subject: hi |
|
|
i meet the problem,and i download the gsdll32.dll ,and copy it to system32 folder.but also the error message Ghostscript failed with error code -100.why? |
|
Back to top |
|
|
russau
Joined: 18 Jun 2007 Posts: 1
|
Posted: Mon Jun 18, 2007 2:26 am Post subject: |
|
|
not just a matter of copying the dll - u need to install ghostscript on your PC.
does anyone know the bare minimum i need to install (rather than using the windows installer). i'd like to be able to "xcopy" deploy. |
|
Back to top |
|
|
tranquillo
Joined: 20 Sep 2007 Posts: 15
|
Posted: Mon Oct 22, 2007 12:36 pm Post subject: |
|
|
Hi
I'm having the same problem,
I've downloaded and installed the full ghostscript install, but I still get the error.
$exception {"Ghostscript failed with error code -100."} System.Exception {System.InvalidOperationException}
I've copied files from the ghostscript bin to the bin of the project.. at first I tried to add the gs32dll.dll as a reference, but failed...
I managed to get the pdfsharp.ghostscript sample to run (by copying the whole bin from ghostscript), but my project just throws the exeption... |
|
Back to top |
|
|
caposada
Joined: 08 Nov 2007 Posts: 1
|
Posted: Thu Nov 08, 2007 5:04 pm Post subject: |
|
|
tranquillo wrote: | Hi
I'm having the same problem,
I've downloaded and installed the full ghostscript install, but I still get the error.
$exception {"Ghostscript failed with error code -100."} System.Exception {System.InvalidOperationException}
I've copied files from the ghostscript bin to the bin of the project.. at first I tried to add the gs32dll.dll as a reference, but failed...
I managed to get the pdfsharp.ghostscript sample to run (by copying the whole bin from ghostscript), but my project just throws the exeption... |
I had the same problem. Found out that I was using page 0 (zero) instead of page 1. Seems the ghostscript starts from page 1. |
|
Back to top |
|
|
|