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

Free Support Forum - aspose.com

Instantiating new Workbook from SpreadsheetML source hanged in .NET

Hi


When content of spreadsheetML contains empty “Format” tag for example creating new Workbook hangs.

Below metod use in application to convert from SpreadsheetML to Workbook and content of MLsheet give as input on test method. I’m using Aspose.Cells in version 17.3.0.0.

Please check this issue.
Regards Mietek

public Workbook Convert( string spreadsheetContent )

{

var stream = SpreadsheetMlContentToStream( spreadsheetContent );

var loadOptions = new LoadOptions( LoadFormat.SpreadsheetML );

try

{

var workbook = new Workbook( stream, loadOptions );

return workbook;

}

catch ( Exception ex)

{

throw;

}

}
Content of spreadsheetML give in test method, contains invalid tags:
"<?xml version=\"1.0\"?> " +
"<?mso-application progid=\"Excel.Sheet\"?> " +
" " +
" " +
"Aspose Test " +
"15.00 " +
" " +
" " +
" " +
" " +
" " +
"12435 " +
"28800 " +
"0 " +
"0 " +
"False " +
"False " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
"1 " +
"2 " +
" " +
"
" +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
" " +
"3 " +
"2 " +
" " +
" " +
"False " +
"False " +
" " +
" " +
" ";

Hi Mieczyslaw,


Thank you for contacting support. We managed to replicate the said problem on our side. It has been logged under ticket ID CELLSNET-45231 in our bug tracking system. Your post has also been linked to this ticket. We shall keep you informed regarding any available updates. We are sorry for the inconvenience caused.

Hi,

Thanks for using Aspose.Cells.

This is to inform you that we have fixed your issue CELLSNET-45231 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Hi,

Please try our latest version/fix: Aspose.Cells for .NET v17.3.2.

Aspose.Cells for .NET v17.03.2 (.NET 2.0) compiled in .NET Framework 2.0.
Aspose.Cells for .NET v17.03.2 (.NET 4.0) compiled in .NET Framework 4.0.
(Note: please choose any of the fixes for your underlying .NET framework version)

Your issue should be fixed in it.

Let us know your feedback.

Thank you.

Hi


Thank you for quick reaction and fix.

Form firs test everything looks good right now.

Thanks
Mietek
Hi,

Thanks for your feedback and using Aspose.Cells.

It is good to know that your issue seems to be resolved with the latest fix. Let us know if you encounter any other issue while testing, we will be glad to look into it and help you further.

The issues you have found earlier (filed as CELLSNET-45231) have been fixed in Aspose.Cells for .NET 17.4.0.


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