We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Error while loading a pdf document


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 :

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

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.

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