Hi,
We are having issues when adding a chart to a PowerPoint presentation. I have created a separate test project to test the issue with the latest version of Aspose Slides from nuget can confirm the issue reproducible,
static void Main(string[] args)
{
License license = new License();
license.SetLicense(“Aspose.Slides.lic”);
try
{
using (Presentation presentationOrginal = new Presentation(@"test.pptx"))
{
}
}
catch (Exception ex)
{
bool b = true;
}
}
Aspose Slides will not even open the pptx file and generates a ‘Operation is not valid due to the current state of the object.’ with the following stack trace
[InvalidOperationException: Operation is not valid due to the current state of the object.]
Aspose.Slides. .(Stream , Boolean , Boolean ) +7527
Aspose.Slides. .(XmlSchemaSet , Boolean ) +75
Aspose.Slides. .(XmlSchemaSet , SortedList`2 , String , Boolean , Boolean ) +67
Aspose.Slides. .zmhrh4by9kwtkxef44lscklqdjwnxscn (String[] ) +321
Aspose.Slides. .(IShapeCollection , IChart , , ) +132
Aspose.Slides. .(IShapeCollection , , , Boolean ) +259
Aspose.Slides. .( , IGroupShape , ) +1533
Aspose.Slides. .(IGroupShape , , ) +600
Aspose.Slides. .(IBaseSlide , , ) +186
Aspose.Slides. .(Slide ) +195
Aspose.Slides. .(IPresentation ) +3953
Aspose.Slides. .(Presentation , Stream ) +309
I am unable to attach anything to this Topic, but can provide the the test project that includes the .pptx file that will reproduce the issue each time it is run.