Cannot existing PDF files with Apose PDF

I have very simple code to open an existing PDF file with Aspose PDF.

Getting EndOfStreamException: “Unable to read beyond the end of the stream.”
on the following call:
Aspose.Pdf.Document doc = new Document(filePath);


Using Aspose.pdf.dll
Runtime version: v4.0.30319
Version: 10.5.1.0

Thanks,
Radu

Hi Radu,


Thanks for your inquiry. I have tested the scenario using Aspose.Pdf for .NET 10.6.0 and unable to notice the issue. Please download and try latest version of Aspose.Pdf for NET, it will resolve the issue.

Best Regards,

I have tried with version 10.6 and I get the same error message. Any other suggestions?


Thanks,
Radu

Hi Radu,


Thanks for your feedback. We will appreciate it if you please share a sample project to replicate the issue and please also share your environment details as well. So we will try to replicate the issue at our end and provide you more information accordingly.

We are sorry for the inconvenience caused.

Best Regards,