We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose 17.4 throws exception while saving document- HtmlFixed

Download TMST_Master.docx and convert with Aspose.Word 17.4 tool.

Same exception occurs for
LM Funding - Form 8-K - Earnings Release (Q4 and YE 2015).docx file attached.

Actual result:
conversion failed on doc.Save(myDir + “Out_” + docName + “.html”, SaveFormat.HtmlFixed);

Please see screenshot.

Workaround. If I go in Word [Review] -> [Changes] ->[Accept all changes], save document and try to convert. In this case document is converted.

Hi Vladyslav,

Thanks for your inquiry. We have tested the scenario using latest version of Aspose.Words for .NET 17.4 and have not found the shared issue. Please make sure that you are using the latest version of Aspose.Words for .NET 17.4 and same input Word documents.

Moreover, please use the correct values for PageIndex and PageCount properties of HtmlFixedSaveOptions.

HtmlFixedSaveOptions.PageCount property gets or sets the number of pages to save and HtmlFixedSaveOptions.PageIndex property gets or sets the 0-based index of the first page to save.

Hello Tahir,

we are investigating this issue.

Hello Tahir,

we have modified our Standalone app a bit and now file is processing well.

Issue could be closed now.
Thank you.

Olga Kyrychuk
Hi Olga,

Thanks for your inquiry. It is nice to hear from you that your problem has been solved. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.