WordtoPdf Conversion Component failing with Error: Image file cannot be written to disk. When saving the document to a stream either PdfExportImagesFolder should be specified or custom streams should be provided via PdfExportImageSaving event handler
search cancel

WordtoPdf Conversion Component failing with Error: Image file cannot be written to disk. When saving the document to a stream either PdfExportImagesFolder should be specified or custom streams should be provided via PdfExportImageSaving event handler

book

Article ID: 152926

calendar_today

Updated On:

Products

Workflow Solution

Issue/Introduction

When using the WordtoPdf converter component, they are recieving the following error:

Image file cannot be written to disk. When saving the document to a stream either PdfExportImagesFolder should be specified or custom streams should be provided via PdfExportImageSaving event handler

 

 

 

Message Stack:
at ᵛ.⏉.(Boolean , Byte[] ۳, ܮ ۮ)
at ᵛ.⏉.()
at ᵛ.⏉.(ShapeBase , Shape , , SizeF ܖ, Color )
at 㫚.㭱.㮁(String 㮂, Shape ഞ, , SizeF ܖ)
at 㫚.㭱.ή(Shape ഞ)
at 㫚.㭱.㞩(Shape ഞ)
at 㫚.㭱.㌷(Shape ഞ)
at 㫚.㫙.VisitShapeStart(Shape shape)
at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.Ս(DocumentVisitor Վ)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.Ս(DocumentVisitor Վ)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at 㫚.㫙.⌱(Section )
at 㫚.㫙.⟨(⍝ ⟩)
at Aspose.Words.Document.ԅ(Stream , String , SaveFormat Ԇ)
at Aspose.Words.Document.Save(Stream stream, SaveFormat saveFormat)
at LogicBase.Components.PDF.WordToPDF.ConvertToDLS(IData data, Stream document)
at LogicBase.Components.PDF.AbstractNativePDFConverter.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Image file cannot be written to disk. When saving the document to a stream either PdfExportImagesFolder should be specified or custom streams should be provided via PdfExportImageSaving event handler

 

 

 

Message Stack:
at ᵛ.⏉.(Boolean , Byte[] ۳, ܮ ۮ)
at ᵛ.⏉.()
at ᵛ.⏉.(ShapeBase , Shape , , SizeF ܖ, Color )
at 㫚.㭱.㮁(String 㮂, Shape ഞ, , SizeF ܖ)
at 㫚.㭱.ή(Shape ഞ)
at 㫚.㭱.㞩(Shape ഞ)
at 㫚.㭱.㌷(Shape ഞ)
at 㫚.㫙.VisitShapeStart(Shape shape)
at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.Ս(DocumentVisitor Վ)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.Ս(DocumentVisitor Վ)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at 㫚.㫙.⌱(Section )
at 㫚.㫙.⟨(⍝ ⟩)
at Aspose.Words.Document.ԅ(Stream , String , SaveFormat Ԇ)
at Aspose.Words.Document.Save(Stream stream, SaveFormat saveFormat)
at LogicBase.Components.PDF.WordToPDF.ConvertToDLS(IData data, Stream document)
at LogicBase.Components.PDF.AbstractNativePDFConverter.Run(IData data)
at LogicBase.Core.ExecutionEngine.SinglePathProcessComponentExecutionDelegate.Execute(IData data, IOrchestrationComponent comp, String& outputPath, IExecutionEngine engine, TLExecutionContext context)
at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.DoRunComp(IOrchestrationComponent comp, IData data, TLExecutionContext context)

Cause

Any graphic file contained in the Word document cause this error to appear

Resolution

There is an internal KB article which contains a point fix for this issue.  Please contact Technical Support and ask them to review KB article TECH144444.  This will contain the fix and instructions for application.

5/10/2011 - This is fixed in Workflow 7.0 MR4

 


Applies To

Workflow 7.0 Sp3  - 7.0.1313.9