PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Apr 23, 2024 11:17 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Tue Apr 10, 2007 9:17 am 
Offline

Joined: Tue Apr 10, 2007 9:03 am
Posts: 1
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]


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Apr 18, 2007 10:04 pm 
Offline
empira Employee
User avatar

Joined: Thu Oct 12, 2006 10:07 pm
Posts: 49
Location: Cologne, Germany
PDFsharp cannot create PNG files from PDF, it uses Ghostscript. You must download and install Ghostscript on the client computer.


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

Joined: Tue Apr 24, 2007 4:35 am
Posts: 6
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?


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

Joined: Mon Jun 18, 2007 2:14 am
Posts: 1
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.


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

Joined: Thu Sep 20, 2007 1:06 pm
Posts: 15
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...


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

Joined: Thu Nov 08, 2007 5:01 pm
Posts: 1
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], mark.kelemen0001 and 198 guests


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 post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group