Hi Aspose team,
We encountered the following problem:
When we try to process the attached pptx, Aspose fails with the following exception:
Aspose.Slides.PptxReadException was unhandled
HResult=-2146233088
Message=Unable to cast object of type 'Aspose.Slides. ’ to type 'Aspose.Slides. '.
Source=Aspose.Slides
StackTrace:
at Aspose.Slides. . (Presentation , Stream )
at Aspose.Slides.Presentation. (Stream )
at Aspose.Slides.Presentation. (Stream )
at Aspose.Slides.Presentation. (String )
at Aspose.Slides.Presentation…ctor(String file)
at AsposeSlidesTest.Program.Main(String[] args) in C:\Users\dlengyel\Documents\Visual Studio 2015\Projects\AsposeSlidesTest\AsposeSlidesTest\Program.cs:line 16
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
HResult=-2147467262
Message=Unable to cast object of type 'Aspose.Slides. ’ to type 'Aspose.Slides. '.
Source=Aspose.Slides
StackTrace:
at Aspose.Slides. .tgrt4fn76tvpnbz2ubpxj6qw2e99ay7p (String[] )
at Aspose.Slides. . (IPresentation )
at Aspose.Slides. . (IPresentation )
at Aspose.Slides. . (Presentation , Stream )
InnerException:
We use the following simple code:
Aspose.Slides.Presentation asposeDocument = new Aspose.Slides.Presentation(filePath);
Please let us know if we can provide any more details to help you investigate the issue.
Best regards,
Daniel Lengyel
0030174