Hi,
I have attached a small document RTF document which I want to convert to DocX. The following exception is thrown using example Document Explorer that comes with Aspose.Words (using save as DocX):
Document Explorer.exe
Version 1.0.2939.8674
Friday, January 18, 2008 3:00:39 PM
System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.FillBuffer(Int32 numBytes)
at System.IO.BinaryReader.ReadInt16()
at ..(Byte[] ೊ)
at ..೦(Byte[] ࢽ)
at ⪯.⪮.➧(Byte[] ೊ, ✔ ࠣ)
at ₾.⟿.༢(ShapeBase ృ, Boolean ⠂, ✔ ࠣ, ➫ ন)
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 ⪯.⫑.༢(⪮ ༣)
at ⪯.⪮.⪿()
at ⪯.⪮.╊(┫ ┪)
at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)
at DocumentExplorer.MainForm.SaveDocument() in C:\Program Files\Aspose\Aspose.Words\Demos\VisualBasic\DocumentExplorer\MainForm.vb:line 581
I am using version Aspose.Words.dll version 4.4.3.
I could open the attached file in Word and save it as DocX (did not work with OMPM because it complains about an unknown file type).
Marc