Aspose.Cells Html to Excel conversion not showing images

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

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

@kumar.penigalapati,
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.

@kumar.penigalapati,
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.

HtmlPage5.zip (8.1 KB)

Error
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

@kumar.penigalapati,
We will test this scenario and will log a ticket after reproducing the issue here.

@kumar.penigalapati,
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 Images2.xlsx.zip (12.7 KB)

@kumar.penigalapati,

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.
Thanks.WebApplication7.zip (8.3 MB)

@kumar.penigalapati,
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.
Thanks.

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

@kumar.penigalapati,

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.

@kumar.penigalapati,

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.

@kumar.penigalapati,

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

Hi Amjad Sahi,
we have verified the fix the issue related to the ticket “CELLSNET-47729” is not seems to e fixed.
the other ticket with the issue “Object reference not set to an instance of an object.” seems to be fixed “CELLSNET-47745”

can you please see the example of overlapping images in output excel and provide us the solution.
we have a release scheduled this Wednesday 12/9/2020
if you can provide us any solution by then it will be a greatly appreciated.
Thank you.WebApplication7.zip (8.3 MB)

@kumar.penigalapati,
I have tried your HtmlPage6.html file with the latest version but always get exception while using it with the sample project. Please verify that correct file is shared and share the runnable project for testing. Also share the images showing the problem area for our reference.

Following exception is observed:

System.UriFormatException
  HResult=0x80131537
  Message=Invalid URI: The hostname could not be parsed.
  Source=WebApplication7
  StackTrace:
   at WebApplication7.Controllers.StreamProvider47584.Aspose.Cells.IStreamProvider.InitStream(StreamProviderOptions options) in C:\WebApplication7\Controllers\HomeController.cs:line 70
   at ??.(String , Int32 , Int32 )
   at ??. (Hashtable )

  This exception was originally thrown at this call stack:
    [External Code]
    WebApplication7.Controllers.StreamProvider47584.Aspose.Cells.IStreamProvider.InitStream(Aspose.Cells.StreamProviderOptions) in HomeController.cs
    [External Code]

Can you try this.
WebApplication7.zip (8.3 MB)

just in case if you still has issues you can use the old sample project with this html file
HtmlPage6.zip (1.2 KB)