Hi,
I encountered a problem when a Word document (enabled “Track Changes”) being converted to a PDF file. Please find the below error messages for your reference. Is there any method to fix it? please kindly advise.
The document appears to be corrupted and cannot be loaded. Aspose.Words at Aspose.Words.Document.ࠊ(Exception ࠋ) at Aspose.Words.Document.ࠈ(Stream ؟, LoadFormat ࠉ, String ) at Aspose.Words.Document..ctor(String fileName, LoadFormat loadFormat, String password) at Aspose.Words.Document..ctor(String fileName) at AsposeDoc2Pdf.Class1.ConvertDoc2Pdf(String inFileName, String outFileName)
Length cannot be less than zero. Parameter name: length mscorlib at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy) at Aspose.Pdf.Xml.ᛚ.ᛜ(Pdf ӟ, Section Ӡ, HeaderFooter ӡ, Table Ө, Row ө, Cell Ӣ, Text Ӹ, Ԁ ӫ, Ӓ Ӭ) at Aspose.Pdf.Xml.ᛔ.ᛕ(Pdf ӟ, Section ӧ, Table Ө, Row ө, Cell Ӣ, Text Ӹ, Ԁ ӫ, Ӓ Ӭ) at Aspose.Pdf.Xml.ᕐ.ᕒ(Pdf ӟ, Section ӧ, Table Ө, Row ө, Cell Ӣ, Text Ӹ, Ԁ ӫ, Ӓ Ӭ, Boolean ӭ) at Aspose.Pdf.Xml.ᖇ.ᖊ(Pdf ӟ, Section Ӡ, Ԁ ӫ) at Aspose.Pdf.Xml.ݏ.ၳ(Pdf ӟ) at Aspose.Pdf.Xml..ᤂ(ԁ ӯ, Pdf ӟ) at Aspose.Pdf.Pdf.Save(String pdfFile) at AsposeDoc2Pdf.Class1.ConvertDoc2Pdf(String inFileName, String outFileName)
Thanks & Regards,
Ken Sheang