PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 2:25 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Mar 08, 2023 6:08 pm 
Offline

Joined: Tue Mar 07, 2023 5:53 pm
Posts: 2
We generated a PDF via an SSRS report. This PDF seems to work fine with other PDF applications like Adobe, but we are seeing the below within PDFSharp (1.50.5147, MigraDoc, GDI). Let me know if there is anything you can find incorrect with this PDF file. Thanks!

"Unexpected token 'DF' in PDF stream. The file may be corrupted. If you think this is a bug in PDFsharp, please send us your PDF file."


Attachments:
PortfolioAppraisalMCTest_NoLogo_1CharHeader_1Tx.zip [21.48 KiB]
Downloaded 89 times
Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 09, 2023 9:22 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!

I tried File => Save as in Adobe Reader and got an error message: error 109 while reading the file.
Looks like a corrupt file.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Thu Mar 09, 2023 9:23 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Maybe the settings described here will help:
viewtopic.php?p=1613#p1613

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Fri Mar 10, 2023 5:26 pm 
Offline

Joined: Tue Mar 07, 2023 5:53 pm
Posts: 2
Thanks for the response! I will take a look at this. Much appreciated.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 118 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