We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

System.IO.EndOfStreamException when converting doc to html

Hello,
when converting a Word document using Aspose.Words 14.5 (the latest) I get the following stack trace:

L'exception System.IO.EndOfStreamException n'a pas été gérée
Message=Impossible de lire au-delà de la fin du flux.
Source=mscorlib
StackTrace:
à System.IO.__Error.EndOfFile()
à System.IO.BinaryReader.FillBuffer(Int32 numBytes)
à System.IO.BinaryReader.ReadUInt16()
à . ()
à ​ . (Stream )
à ​ . (Stream , )
à ​ . (Byte[] , )
à . ()
à . (ShapeBase , Shape , ShapeRenderer , )
à . (ShapeBase )
à . (ShapeBase )
à .VisitShapeStart(Shape )
à Aspose.Words.Drawing.Shape.r3ka8zscesabkstb24kjjv9sml9wq7pw (DocumentVisitor )
à Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
à Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
à Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
à Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
à Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
à Aspose.Words.CompositeNode.AcceptChildren(DocumentVisitor visitor)
à Aspose.Words.CompositeNode.AcceptCore(DocumentVisitor visitor)
à Aspose.Words.HeaderFooter.Accept(DocumentVisitor visitor)
à . (Node )
à . (Section , Boolean )
à . (Section )
à . (Section )
à . ()
à . ()
à . ()
à . ( )
à Aspose.Words.Document. (Stream , String , SaveOptions )
à Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)
à Aspose.Words.Document.Save(String fileName)
à ConsoleApplication3.Module1.Main() dans C:\Users\sullivan.perrin\Documents\Visual Studio 2013\Projects\ConsoleApplication3\ConsoleApplication3\Module1.vb:ligne 9
à System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
à System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
à Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
à System.Threading.ThreadHelper.ThreadStart_Context(Object state)
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()
InnerException:

My program :

Imports Aspose.Words

Module Module1

Sub Main()
Dim lic As New License()
lic.SetLicense("..\..\Aspose.Words.lic")
Dim doc As New Document("..\..\input.doc")
doc.Save("..\..\out.html")
End Sub

End Module

I'm attaching the document.
My license is a temporary license.
I use VB.NET 3.5.

Hi there,

Thanks for your inquiry.

I
have tested the scenario and have managed to reproduce the same issue
at my side. For the sake of correction, I have logged this problem in
our issue tracking system as WORDSNET-10253. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-10253) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.