Hello Aspose,
We have following simple code to open/initialize PDF document using Aspose.Pdf.Document constructor with a stream for PDF document.
this.pdf = string.IsNullOrEmpty(password) ? new Aspose.Pdf.Document(file…...Also, you maybe want to start logging the Length of the streams before...Thanks for suggestion extra logging on additional details of streams...