Free Support Forum - aspose.com

A .pptx file fails to load after 3.1.1.7 to 4.0.1 upgrade

Hey,

Recently I upgraded to the latest version of Aspose Cells (4.0.1) from 3.1.1.7. Using the old version, the attached file opens fine. In the new version, an exception is thrown when it is loaded. Exception message is:

Not found approriate value!

and the stack trace is:

at Aspose.Slides.Pptx.Animation.AnimEffectEx.a(Int64 A_0, pt A_1)
at Aspose.Slides.Pptx.Animation.AnimSequenceEx.b(fr A_0)
at Aspose.Slides.Pptx.Animation.AnimSequenceEx.b(fr A_0)
at Aspose.Slides.Pptx.Animation.AnimSequenceEx.b(fr A_0)
at Aspose.Slides.Pptx.Animation.AnimSequenceEx.c(fr A_0)
at Aspose.Slides.Pptx.Animation.AnimTimeLineEx.a(qb A_0)
at Aspose.Slides.Pptx.SlideEx.a(l1 A_0)
at Aspose.Slides.Pptx.SlideEx…ctor(PresentationEx A_0, l1 A_1)
at Aspose.Slides.Pptx.PresentationEx.a(q5 A_0)
at Aspose.Slides.Pptx.PresentationEx…ctor(String file)

Sample file has been attached. Please reply and I will message you the password to open the sample file.

Hi,

I have sent you the message for password. It will be better if you provide the source code too and use latest Aspose.Slides for .NET 4.0.1 version that can be downloaded here. I shall investigate it and possibly, the issue may be on Aspose.Cells end.

Thanks, password has been sent to you via private message reply.

The source code for this issue is fairly simple:

var presentation = new PresentationEx(@“C:\samplefile.pptx”);

Hi,

We have fixed some issues related to reading PPTX files in 4.x.x versions. I have created an issue with issue id 11869 to investigate the problem and you will be informed as soon as it is fixed.

Hey,

FYI, this is now working in Aspose.Slides version 4.1.1.2 and above.

Many thanks for the continual improvements made to your products!


Adam