Sign In  Sign Up Live-Chat

PDF generation from Word failure (System.String.InternalSubStringWithChecks)

Last post 08-07-2007, 10:54 AM by sgcib.com. 3 replies.
Sort Posts: Previous Next
  •  08-06-2007, 11:39 AM 89523

    PDF generation from Word failure (System.String.InternalSubStringWithChecks)

    Hello,

    When I try to generate a pdf document from a word (I have both the last aspose.words, 4.3.1.0, and aspose.pdf, 3.5.6.0, versions), I have an exception, and the following error:

    System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
    Parameter name: length
       at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
       at Aspose.Pdf.Xml.ᑫ.ᑲ(Pdf ᇌ, Section ፕ, Table Ԋ, Row ዌ, Cell ᆬ, Text ԅ, ᅖ ᅨ, ᎄ ᏼ, Boolean ᏽ)
       at Aspose.Pdf.Xml.ᖍ.ᖏ(Pdf ᇌ, Section ፕ, Table Ԋ, Row ዌ, Cell ᆬ, ᅖ ᅨ)
       at Aspose.Pdf.Xml.ᖂ.ᖅ(Pdf ᇌ, Section ፕ, Table Ԋ, Row ዌ, ᅖ ᅨ)
       at Aspose.Pdf.Xml.ᒵ.ᒷ(Pdf ᇌ, Section ፕ, Table Ԋ, ᅖ ᅨ, Boolean ᏽ)
       at Aspose.Pdf.Xml.ᖍ.ᖏ(Pdf ᇌ, Section ፕ, Table Ԋ, Row ዌ, Cell ᆬ, ᅖ ᅨ)
       at Aspose.Pdf.Xml.ᖂ.ᖅ(Pdf ᇌ, Section ፕ, Table Ԋ, Row ዌ, ᅖ ᅨ)
       at Aspose.Pdf.Xml.ᒵ.ᒷ(Pdf ᇌ, Section ፕ, Table Ԋ, ᅖ ᅨ, Boolean ᏽ)
       at Aspose.Pdf.Xml.ᒪ.ᒬ(Pdf ᇌ, Section ፋ, ᅖ ᅨ)
       at Aspose.Pdf.Xml.ճ.ጱ(Pdf ᇌ)
       at Aspose.Pdf.Xml.ᇆ.ᇋ(૜ ૑, Pdf ᇌ)
       at Aspose.Pdf.Pdf.Save(String pdfFile)

    I have attached 2 examples (Word documents).

    Could you please halp me on that error?

    Thanks in advance

     
  •  08-06-2007, 8:18 PM 89580 in reply to 89523

    Re: PDF generation from Word failure (System.String.InternalSubStringWithChecks)

    Hi,

    Thank you for considering Aspose.

    I am able to reproduce this error. I have logged this issue and we will try to fix it as soon as possible.

    Thanks.

     
  •  08-07-2007, 8:20 AM 89689 in reply to 89580

    Re: PDF generation from Word failure (System.String.InternalSubStringWithChecks)

    Attachment: Present (inaccessible)
    This bug has been fixed. Please try the attachment before we publishing the hotfix.

    Tommy Wang
    Lead Developer
    Aspose Changsha Team
    About Us
    Contact Us
     
  •  08-07-2007, 10:54 AM 89731 in reply to 89689

    Re: PDF generation from Word failure (System.String.InternalSubStringWithChecks)

    Hello,

    I tried this hotfix for my 2 documents and it works.

    Many thanks!

     
View as RSS news feed in XML