PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue Mar 19, 2024 3:45 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: Thu Feb 11, 2021 12:12 pm 
Offline

Joined: Thu Feb 11, 2021 12:02 pm
Posts: 1
Hi!

I have PDFSharp.dll installed in four environments. They all have the same version, 1.31.1789.0. The user rights are also the same everywhere.

The DLL works fine, except in Azure, where I get this error:

"Cannot handle iref streams. The current implementation of PDFsharp cannot handle this PDF feature introduced with Acrobat 6."

I did some googling and the article suggested updating the DLL. That sounds reasonable.

But why the same version of the DLL works in three environments, and fails in one? Are the any Azure-related issues with PDF Sharp?

Cheers,
Timo


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 12, 2021 8:27 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 905
Location: CCAA
TimoK wrote:
But why the same version of the DLL works in three environments, and fails in one? Are the any Azure-related issues with PDF Sharp?
PDFs with IREF streams lead to the same error message everywhere. This issue is not specific to Azure.
Could it be the exception gets lost or handled on the three other platforms?

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


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 06, 2022 4:15 pm 
Offline

Joined: Tue Dec 06, 2022 4:04 pm
Posts: 5
Has there been a solution to this?


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 06, 2022 5:45 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 905
Location: CCAA
Mtlmonk wrote:
Has there been a solution to this?
The current 1.51 version of PDFsharp can read PDF files with IREF streams.
There should be no real issues under Azure.

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


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 06, 2022 9:33 pm 
Offline

Joined: Tue Dec 06, 2022 4:04 pm
Posts: 5
There is no .exe to use anymore? To use straight from a command prompt?

Would that have to be coded for?

Also, in the Downloads section, I only see version 1.50 (beta 5), not 1.51


Top
 Profile  
Reply with quote  
PostPosted: Tue Dec 06, 2022 9:43 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 905
Location: CCAA
Mtlmonk wrote:
There is no .exe to use anymore? To use straight from a command prompt?
There never was. It is a library for developers, to be used in own applications.

Mtlmonk wrote:
Also, in the Downloads section, I only see version 1.50 (beta 5), not 1.51

The package:
https://www.nuget.org/packages/PDFsharp ... .5185-beta

The source code:
https://github.com/empira/PDFsharp

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


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: No registered users and 29 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