Hi,
I’m well and truly stumped!
I’m having an issue with the convertion for pptx document to pdf the exception message is:
Aspose.Slides.Presentation ppt = new Aspose.Slides.Presentation(fs);
ppt.Save(outputforpdf, Aspose.Slides.Export.SaveFormat.Pdf);
Stream length must be non-negative and less than 2^31 - 1 - origin.
Parameter name: offset
at System.IO.MemoryStream.Seek(Int64 offset, SeekOrigin loc)
at Aspose.Slides. .(Byte[] )
at Aspose.Slides. .(Byte[] , )
at Aspose.Slides. …ctor(Byte[] )
at Aspose.Slides. .(Byte[] )
at Aspose.Slides. …ctor( , Byte[] , , )
at Aspose.Slides. .(Byte[] , , )
at Aspose.Slides. .(Byte[] , , RectangleF , , Boolean )
at Aspose.Slides. .( )
at Aspose.Slides. .36gb8j2pxayk423lsm4qwj9yq55a7hwh ( )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .lhrksw4qmpxsb9gbrklg24zzqz43kn79 ( , )
at Aspose.Slides. .( , )
at Aspose.Slides. .(Presentation , Stream , Int32[] , PdfOptions , InterruptionToken )
at Aspose.Slides. .(Presentation , Stream , PdfOptions , InterruptionToken )
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, ISaveOptions options)
at PwC.C4.Ants.Controllers.FileController.TransferToPDFByStream(String formId, String fileids, String fieldName, String pdfid, String env)
The original file is :Error.zip (290.3 KB)