Free Support Forum - aspose.com

FormatException "Input string was not in a correct format" when read html file using Aspose.Word.Document

The exeception is raised when I’m trying to open an html file using Document class (plz see the attachment).
I’m using Aspose.Word 3.4.0.0 trial version
Maybe Aspose.Word didnt support this type or disable features in trial version ?
Do you have any plan to support this ?

Thanks

Hi,

Your HTML seems to be generated by MS Word 11. As you might know, Word injects to the produced HTML lots of MS-specific tags which are not supported by Aspose.Word regardless of the version (evaluation or licensed). I hope we will support this in the future but I'm not sure it will happen anytime soon.

I am getting the same exception now.

I'm using Aspose.Words. Version 3.6.1.0.

Regards,

Ganeshpandi.M

IAEA, Vienna, Austria.

Hi

Thanks fro your inquiry. It seems that this problem is solved few releases ago. Please try to use the latest version of Aspose.Words.
http://www.aspose.com/Community/Files/51/aspose.words/category1188.aspx

Best regards.