Exception while saving MS Word document to html

Last post 11-17-2011, 5:53 AM by awais.hafeez. 1 replies.
Sort Posts: Previous Next
  •  11-17-2011, 5:19 AM 343018

    Exception while saving MS Word document to html

    Attachment: Present (inaccessible)

    Hello,

    when ASPOSE convertor saves MS WORD documebts to html we receive errors like this:

     System.OverflowException: Overflow error.
       at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
       at System.Drawing.Graphics.DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr, DrawImageAbort callback, Int32 callbackData)
       at System.Drawing.Graphics.DrawImage(Image image, PointF[] destPoints, RectangleF srcRect, GraphicsUnit srcUnit, ImageAttributes imageAttr)
       at x85732faf56f7825d.x3a15c7024016ce52.x558cc83610335d8b(x72c34b8dbaec3734 xaf3288ddace2264d)
       at x85732faf56f7825d.x3a15c7024016ce52.VisitImage(x72c34b8dbaec3734 imageNode)
       at x1c8faa688b1f0b0c.x72c34b8dbaec3734.Accept(xf51865b83a7a0b3b visitor)
       at x1c8faa688b1f0b0c.xbaec545ec01f92ca.Accept(xf51865b83a7a0b3b visitor)
       at x1c8faa688b1f0b0c.xb8e7e788f6d59708.Accept(xf51865b83a7a0b3b visitor)
       at x1c8faa688b1f0b0c.xbaec545ec01f92ca.Accept(xf51865b83a7a0b3b visitor)
       at x1c8faa688b1f0b0c.xb8e7e788f6d59708.Accept(xf51865b83a7a0b3b visitor)
       at x85732faf56f7825d.x3a15c7024016ce52.xe406325e56f74b46(x4fdf549af9de6b97 xda5bf54deb817e37, Graphics x41347a961b838962)
       at xf989f31a236ff98c.x00e0b1d9cd99a947.x063e61b390371e67(ShapeBase x5770cdefd8931aa9, PointF xf73214c4b02b3840, x26d9ecb4bdf0456d xbfc75fb7cbf3cc9e, xcca9b9b2025d882d x17af85f5c27e974d)
       at xf989f31a236ff98c.x8aa64ac02744cab2.xbde19bf3ea0915ae(Boolean x047979bcfe41b5d7, xea9682d94fc23852 x0182a6dae298f8a4)
       at xf989f31a236ff98c.x8aa64ac02744cab2.xde9333630a439a3b()
       at xf989f31a236ff98c.x8aa64ac02744cab2.x69e367df6bceb25b(ShapeBase x10e3e3c2d91f0950, Shape xc9919d3e593d69ed, xcd1c64d43058619d xdfde339da46db651, SizeF x0ceec69a97f73617, x26d9ecb4bdf0456d x2831a43a88404062)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.x1a2622a1866b8f97(ShapeBase x8739b0dd3627f37e, Shape x5770cdefd8931aa9)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.x88aa79b35991fcff(ShapeBase x8739b0dd3627f37e, Shape x5770cdefd8931aa9)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.VisitShapeStart(Shape shape)
       at Aspose.Words.Drawing.Shape.x2449520719b1e37e(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Drawing.Shape.Accept(DocumentVisitor visitor)
       at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
       at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Tables.Cell.Accept(DocumentVisitor visitor)
       at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Tables.Row.Accept(DocumentVisitor visitor)
       at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Tables.Table.Accept(DocumentVisitor visitor)
       at Aspose.Words.CompositeNode.x464d2134480a7bf2(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.CompositeNode.xf7ae36cd24e0b11c(DocumentVisitor x672ff13faf031f3d)
       at Aspose.Words.Body.Accept(DocumentVisitor visitor)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.xf5a995748d89aa41(Story x93d8434f027afd5a)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.x51ee56decc29a9da(Section xb32f8dd719a105db)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.xd7560e2140c6338f()
       at xce0136f05681c5e9.x967f6fb76e7d0c72.xe00a9c07c675b8ed()
       at xce0136f05681c5e9.x967f6fb76e7d0c72.xa2e0b7f7da663553(Document x6beba47238e0ade6, Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, Boolean xddad811e564048f0, HtmlSaveOptions xc27f01f21f67608c)
       at xce0136f05681c5e9.x967f6fb76e7d0c72.x8cac5adfe79bc025(x8556eed81191af11 x5ac1382edb7bf2c2)
       at Aspose.Words.Document.xf381a641001e6830(Stream xcf18e5243f8d5fd3, String xafe2f3653ee64ebc, SaveOptions xc27f01f21f67608c)
       at Aspose.Words.Document.Save(String fileName, SaveOptions saveOptions)

    Word Files attached

    Regards

     

     

     
  •  11-17-2011, 5:53 AM 343031 in reply to 343018

    Re: Exception while saving MS Word document to html

    Hi Alexey,

    Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 10.6.0 and your input documents, I was unable to reproduce this exception. I managed to successfully convert these Word documents to HTML files. Moreover, I would suggest you to please visit the following link for downloading and using the latest version of Aspose.Words:


    I hope, this will help.

    Best Regards,

    Awais Hafeez
    Support Developer
    Aspose Sialkot Team
    Aspose - Your File Format Experts

    Keep in touch! We're on Twitter and Facebook
     
View as RSS news feed in XML