Number Was Less Than the Array's Lower Bound in the First Dimension

Opening the attached presentation leads to Aspose.Slides.PptxReadException with the message Number was less than the array’s lower bound in the first dimension. (Parameter ‘sourceIndex’) when calling new Aspose.Slides.Presentation(Stream).

I believe this is caused by the contained file oleObject1.bin which might be an invalid compound document file. However, since the PPTX file opens without issues in PowerPoint my perspective is that Aspose.Slides should also be able to process it.

test.zip (43.0 KB)

@co213
Thank you for reporting the issue.

I’ve reproduced the problem and added a ticket with ID SLIDESNET-43493 to our issue tracking system. We apologize for any inconvenience. Our development team will investigate the case. You will be notified when the issue is resolved.

The issues you found earlier (filed as SLIDESNET-43493) have been fixed in Aspose.Slides for .NET 24.4 (ZIP, MSI, NuGet, Cross-platform).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.