Free Support Forum -

Aspose.Cells Html to Excel conversion not showing images

Ahsan Iqbal,
I have attached the sample code.
Thanks. (8.3 MB)

Thank you for the sample project. We have observed the issue while using it with the latest hot fix.

We have created a new ticket “CELLSNET-47729” for images over lapping the text during html to excel conversion. Once we will have some news for you, we will update you in this topic.

Thanks Ahsan Iqbal.

You are welcome.

Hi Ahsan Iqbal
There is one more issue we are facing trying to convert html tp excel.
please see the attached html file and same source code which we used to export like other files attached in previous examples. (8.1 KB)

Object reference not set to an instance of an object.
Stack Trace
at .(Int32 )
at .(Cell )
at .(Cell )
at .(Cell )
at . ()
at . ()
at .(String , ArrayList )
at .()
at .()
at .(Stream )
at .(String , Stream , LoadOptions )
at Aspose.Cells.Workbook.(String , LoadOptions )
at Aspose.Cells.Workbook…ctor(String file, LoadOptions loadOptions)
at WebApplication7.Controllers.HomeController.Index() in C:\Users\akpenig\source\repos\WebApplication7\Controllers\HomeController.cs:line 25

We will test this scenario and will log a ticket after reproducing the issue here.

I have tested the scenario using the latest version 20.11 from NuGet package manager but could not observe any issue with the sample file “HtmlPage5.html” shared above. You may please try the scenario by updating the references from NuGet package manager and share the feedback.
Aspose Test (12.7 KB)


This is to inform you that we have fixed your issue “CELLSNET-47729” now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

Hi Ahsan Iqbal,
can you please see the attached example and try out.
we are getting an error with V20.11 as well with our example. (8.3 MB)

We have observed the issue using the sample project and logged it with the ticket. We will write back here once any update is ready for sharing.

Thanks Ahsan Iqbal
and one more thing i observed is that in the html there is an img tag with our the src attribute.
I am guessing that could be reason for the failure.

Thank you for providing more information. We will analyze it and provide our feedback accordingly.


For managing issues accurately, we have created a new ticket “CELLSNET-47745” to trace exception when importing sample files. We will look into it soon.


Please try our latest version/fix: Aspose.Cells for .NET v20.11.6 (attached)
Aspose.Cells20.11.6 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.11.6 For .Net4.0.Zip (5.4 MB)

Your issues (logged earlier as “CELLSNET-47729” and “CELLSNET-47745”) are fixed in it.

Let us know your feedback.

Thanks Amjad Sahi,
we will test the fix and will let you know.


Sure, please take your time to evaluate the new fix. Hopefully the mentioned issues will be fixed in it.