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

Free Support Forum - aspose.com

Exception on Open

The attached pdf files throw an exception when attempting to load into the Aspose PDF Library.



Hi Brent,


Thanks for contacting support.

I have tested the scenario using latest release of Aspose.Pdf for .NET 9.2.0 and I am unable to notice any problem. Can you please try using the latest release and in case the problem still persists, please share the code snippet and details regarding your working environment. We are sorry for your inconvenience.

[C#]

// load source pdf<o:p></o:p>

Document doc = new Document("c:/pdftest/reference-5.pdf");

// Print PDF page count information

Console.WriteLine(doc.Pages.Count);