Error while loading a pdf document

Hello,

I’ve encountered an exception “The root object missing or invalid” while instanciating a Document with a pdf file.
I can open the pdf file with Acrobat Reader or IText RUPS just fine, though.

documentxs.pdf (699.4 KB)

Here is the code snippet, using Aspose.PDF 23.2.0.0 :

var file = @“c:\temp\documentxs.pdf”;
var document = new Document(file);

@ThomasNk
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-53783

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

I’ve actually noticed that it is working fine with Aspose.PDF 22.10.0.

@ThomasNk
Thanks, interesting and essential addition, I added it to the ticket.

The issues you have found earlier (filed as PDFNET-53783) have been fixed in Aspose.PDF for .NET 23.6.