PPT to PDF conversion problem when in Workflow code - Sharepoint MOSS 2007

Hi There,

My issue is this, when I convert a ppt document via the UI, everything runs smoothly and my pdf is created without a problem. But when I run it via workflow code, i.e. using the SPfile.Convert() method, it fails everytime.

This same method is used on .doc (word) documents, and runs fine using the SPfile.Convert() method.

The error message stack looks like the following:

at .(FillFormat )
at .(FillFormat , RectangleF , Single , GraphicsPath )
at ..ctor(FillFormat , Shape , Single , GraphicsPath )
at Aspose.Slides.Rectangle.( , ArrayList , HeaderFooter , Int32 )
at Aspose.Slides.GroupShape.( , ArrayList , HeaderFooter , Int32 )
at Aspose.Slides.GroupShape.( , ArrayList , HeaderFooter , Int32 )
at Aspose.Slides.Slide.( )
at Aspose.Slides.Slide.(Boolean )
at Aspose.Slides.Presentation.SaveToPdf(Stream stream, Int32[] slides)
at Aspose.Slides.Presentation.SaveToPdf(Stream stream)
at Aspose.Slides.Presentation.SaveToPdf(String fname)
at MM.Actelion.DocumentConverter.Program.ConvertPpt2Pdf(String inFileName, String outFileName)
at MM.Actelion.DocumentConverter.Program.Main(String[] args)
GetImage for Pattern filling called

Any help would be appreciated. I'm using Aspose.Slides version: 3.0.0.41081

Thanks,

Michael

Hello Michael,

At first, please try latest version of Aspose.Slide for .NET. You can download it here. In case it won’t help, please provide example of ppt file which failed to convert.

The most interesting is such exception can’t be thrown at all in your case.

OK I upgraded to the latest version (3.1.1.4) and everything seems to be fine now. Thanks.

Actually may have spoken too soon. It seems some ppt files convert fine, mostly the simple ones. But some complex ones, don't and I still get that error from the first post.

Please let me know if there is something I can do to figure out what the problem is.

Hello,

Could you please provide some presentation which has problems with conversion.

Hi I’m working on getting a copy of a document that has problems, have to remove all references to our client first.