Free Support Forum - aspose.com

Issues with PowerPoint object using a MemoryStream

We are facing issues when trying to instantiate an PowerPoint object using a MemoryStream as parameter.

This is the line of code that triggers the error:

• file is an instance of System.IO.MemoryStream class

• Presentation belongs to Aspose.Slides namespace.

• We are using Aspose.Slides 20.7 in production and it seems that the issue occurs on that version and higher versions (last tested version: 20.11)

The exception contains the following message:

This issue is originated in the Document Downloader web app when downloading an specific document.

If you need more details, please let me know.

@oliverwym

Can you please share the details of issue incurring on your in the form of sample project, source presentation, generated output and snapshot of issue. I also recommend you to please first try using latest Aspose.Slides for .NET 20.10 on your end.

This is the line of code that triggers the error:
Presentation presentation = new Presentation(file)

  • file is an instance of System.IO .MemoryStream class

  • Presentation belongs to Aspose.Slides namespace.

  • We are using Aspose.Slides 20.7 in production and it seems that the issue occurs on that version and higher versions (last tested version: 20.11)

The exception contains the following message: "Unknown series type:

@oliverwym

We request you to please share the working sample project and source presentation reproducing the issue using latest Aspose.Slides for .NET 20.11.

Hello! Due to client confidentiality, we cannot share the code as this is a public facing site. We also found another document that raises the issue even if we use the most recent version. Are we able to set up a meeting with support to show you these problems? Our maintenance and support is current and renewed on an annual basis.

@oliverwym

Unfortunately, without provision of requested information it will not be possible for us to investigate the issue and assist you further. Please share the requested information so that we may proceed further ot help you.

Aspose error_ 20Nov2020.png (13.3 KB)
Please see the attached image!

@oliverwym

In the image file, you are simply loading the presentation from stream. However, in order to reproduce the issue, we are still missing source presentation. Can you please share that as requested earlier. Secondly, can you pleas ensure that if you are setting the position of the stream to 0 before loading?