PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Ghostscript failed with error code -100

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
ndongo



Joined: 10 Apr 2007
Posts: 1

PostPosted: Tue Apr 10, 2007 9:17 am    Post subject: Ghostscript failed with error code -100 Reply with quote

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
View user's profile Send private message
Stefan Lange



Joined: 12 Oct 2006
Posts: 47
Location: Cologne, Germany

PostPosted: Wed Apr 18, 2007 10:04 pm    Post subject: Reply with quote

PDFsharp cannot create PNG files from PDF, it uses Ghostscript. You must download and install Ghostscript on the client computer.
Back to top
View user's profile Send private message Send e-mail
xxysk



Joined: 24 Apr 2007
Posts: 6

PostPosted: Fri Apr 27, 2007 8:53 am    Post subject: hi Reply with quote

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
View user's profile Send private message
russau



Joined: 18 Jun 2007
Posts: 1

PostPosted: Mon Jun 18, 2007 2:26 am    Post subject: Reply with quote

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
View user's profile Send private message
tranquillo



Joined: 20 Sep 2007
Posts: 15

PostPosted: Mon Oct 22, 2007 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
caposada



Joined: 08 Nov 2007
Posts: 1

PostPosted: Thu Nov 08, 2007 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com