Hi All,
I have some code that converts ppt & pptx files into PDF to be viewable on an iPad app. I have noticed that one ppt file fails with the following error message:
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative
and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at Aspose.Slides.SlideCollection.get_Item(Int32 index)
at:clubs:
.?☼:clubs:
.?▬☼:slight_smile:()


at 
.?☼:clubs:

()





at 
.?☼:clubs:
.?

(??
fs)







at Aspose.Slides.Presentation.?
?
(??
fileSystem)



at Aspose.Slides.Presentation.∟⌂▬(Stream stream)
at Aspose.Slides.Presentation…ctor(String file, LoadOptions loadOptions)
at Aspose.Slides.Presentation…ctor(String file)
If i save the ppt as a pptx it all works as expected. I have read some other questions that indicate to using templates. My code is the following:
Aspose.Slides.License lic = new Aspose.Slides.License();
lic.SetLicense(asposeLicense);
using (Aspose.Slides.Presentation presentation = new Aspose.Slides.Presentation(inputFileName))
{
//Do Work
}
Does anyone have any ideas on whats going wrong? Im using the latest 4.0 build from the 28th November