Thanks’ for your reply.
I found this issue will be with my documents. I am here placing my stack trace. As a security issue I cont send you the documents.
If you have information on what type of content in a RTF file Aspose.word will not process, please share with us, it will help us in understanding the our own documents.
i checked the one more thing it is throwing the same error when i use the method
Document doc = new Document(@"c:\Test\Test.doc");
doc.ExpandTableStylesToDirectFormatting();
I noticed one more thing in my RTF files is, if i add or remove a even single space from the file, the size of the document is reduced from 2mb to 300kb. If you have any information on this please share with us, it will help us a lot.
Stack trace:-
Check here, it is trying to create a table, which it can’t understand and throwing error.
at Aspose.Words.Tables.Table.ᯨ()
at ㏌.㏋.VisitTableStart(Table table)
at Aspose.Words.Tables.Table.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.ဢ(DocumentVisitor ྍ)
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at ㏌.㏋.Ἧ(Section )
at ㏌.㏋.㏢()
at ㏌.㏋.ἧ(Ὑ Ἠ)
at Aspose.Words.Document.(Stream ܭ, String ܬ, SaveFormat )
at Aspose.Words.Document.Save(String fileName, SaveFormat fileFormat)
at FilesHelper.DirectoryHelper.DownloadFile(String FileName, String Folder, Int32 ExecutionType) in C:\GCFHDWordServiceNew\FileHelper\DirectoryHelper.cs:line 150
please do the needful.
Thank you.