Throw FormatException when converting html to Excel

Hi,


I’m evaluating the aspose.cell .net (latest version) for my current product. I tried to convert my sample html to Excel and got FormatException. The error screenshot and sample html are attached.

Please advice what’s wrong in the sample html that causes FormatException. Appreciate for any suggestions?

Thanks,
Triet Pham

Hi,


Thanks for providing us template file.

After an initial test, I observed the issue as you mentioned. I found an exception: “Input string was not in a correct format.” when loading your attached HTML file.
e.g
Sample code:

HTMLLoadOptions opts = new HTMLLoadOptions(LoadFormat.Html);
Workbook workbook = new Workbook(“e:\test2\EMAReport.html”, opts);

I have logged a ticket with an id “CELLSNET-44526” for your issue. We will look into it soon.

Once we have an update on it, we will let you know here.

Thank you.

Hi again,


This is to update you that the ticket logged earlier as CELLSNET-44526 has been marked resolved. We will shortly share the fix here after ensuring the quality and incorporating other enhancements.
Hi,

Please test the scenario as logged under the ticket CELLSNET-44526 against the latest version of Aspose.Cells for .NET 8.8.2.8 and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-44526) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.