I’m trying to load some rtf files (which word opens fine) using Aspose.Words version 4.3.1.0. I’m getting the following error:
Aspose.Words.FileCorruptedException was unhandled
Message="The document appears to be corrupted and cannot be loaded."
Source="Aspose.Words"
StackTrace:
at Aspose.Words.Document.?(Exception ?)
at Aspose.Words.Document.?(Stream ?, LoadFormat ?, String ?)
at Aspose.Words.Document..ctor(String fileName, LoadFormat loadFormat, String password)
at CopyWordRtfContentToDbColumns.Module1.Main() in C:\Documents and Settings\Administrator\Desktop\XML data\CopyWordRtfContentToDbColumns\CopyWordRtfContentToDbColumns\Module1.vb:line 8
(As a workaround I can load and convert the same rtf file using ActiveUp.RTF component - but I’d rather not have to purchase another component).