Exception on a ppt file

Hi,

Please help!

I am using Aspose.Slides version 2.8.0.0 to open a ppt file. And I am getting an exception.
Note that I have a fully-paid Aspose.Slides license. My license began 1/2008. So, it can't be a license problem.
I wrote a small sample code to reproduce the problem. Here is the exception when I run the code:

Aspose.Slides.PptReadException: Couldn't read "Current User" record. ---> System.IO.FileNotFoundException: no such entry: "Current User"
at ?.?.GetEntry(String name)
at ?.?.CreateDocumentInputStream(String documentName)
at Aspose.Slides.Presentation.?(? ?)
--- End of inner exception stack trace ---
at Aspose.Slides.Presentation.?(? ?)
at Aspose.Slides.Presentation..ctor(String file)
at ConsoleApplication1.Program.Main(String[] args) in C:\ConsoleApplication1\ConsoleApplication1\Program.cs:line 21

And Here is the code:

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Aspose.Slides;

namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
try
{
//Instantiate the License class
Aspose.Slides.License license = new Aspose.Slides.License();
//Pass only the name of the license file embedded in the assembly
license.SetLicense("Aspose.Slides.lic");

Presentation pres = new Presentation("POWERPNT.PPT");
}
catch(Exception e)
{
Console.WriteLine(e.ToString());
}
}
}
}

The zip file of the POWERPNT.PPT file is attached. You have to unzip it.

Dear c10000,

Thanks for using Aspose.Slides for .NET

We will fix this bug as soon as possible and let you know.

Hi, Shakeel,

Do you have a resolution for this problem?

Thanks.

Charles

Hello Charles,

Attached file is not an MS PowerPoint 97-2007 presentation.

What do you mean?

I can open it with powerpoint. I just tried once more 1 minute ago.

Maybe the file got messed up during upload. If you like, send me an email at cwancalo at gmail dot com. I'll email the file to you.

I just can tell that is definitely not a PowerPoint 97-2007 presentation.
It has PP04 stream inside so most probably that is old PowerPoint 4.0 format.
Such old format is not supported of course.
You can try to open it in MS PowerPoint and resave.

Hi, Alexey,

Thank you very much for your reply.

You are right. That file is a very old one. I didn't realize it was so old.

But how about this one attached herewith?

I am sorry to bother you guys. But we are trying to harvest data from lots of ppt files. The attached file also gave us an Exception:

System.Exception: Invalid header signature; read 216172786104577291, expected 16220472316735377360
at ?.?..ctor(Stream stream)
at ?.?..ctor(Stream stream)
at Aspose.Slides.Presentation..ctor(String file)
at ConsoleApplication1.Program.Main(String[] args) in C:\CALO\ConsoleApplicat
ion1\ConsoleApplication1\Program.cs:line 20

Thanks!

Dear Charles,

Thanks for using Aspose.Slides for .NET

We will investigate and fix it if possible and let you know

This file looks even older than previous one or just broken.
That even not MS compound format at all.
MS PowerPoint 2003 and 2007 also can’t open this file.