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

Free Support Forum - aspose.com

Opening Workbook Locks Up

I am trying to open the attached workbook in Aspose.Cells for .NET. I have a chart that I created using data. I have deleted the data and saved the workbook to use it as a template. My plan is to re-populate the data dynamically from a database. I am currently doing this with many spreadsheets and charts so I know that this is possible but something in my attached spreadsheet is causing a lock-up when trying to open the workbook.

Currently my code is as follows:

This is the line of code that locks up. I have let it sit for about 10 minutes.
Workbook workbook = new Workbook(@“D:\Report Test.xlsx”);
workbook.Save(@“D:\test.xlsx”, SaveFormat.Xlsx);

Any ideas as to what could be causing the lock-up would be greatly appreciated.

Thank you,

Hi,

Thanks for your posting and using Aspose.Cells.

I have checked your issue with the latest version: Aspose.Cells
for .NET v8.6.1.2
and the issue did not occur. Please download and try the latest version and see if it makes any difference at your end and resolves your issue. Let us know your feedback.

Thank you,

When using the latest version, everything seems to work fine. I will upgrade my license.

Thanks,

Hi,

Thanks for your feedback and using Aspose.Cells.

It is good to know that your issue is sorted out with latest version. Let us know if you encounter any other issue we will be glad to look into it and help you further. Have a good day.