Saved xls file is locked (still open for editing) after Workbook.Save

I am getting error trying to open excel file generated from xls template file. I open template file, insert data to named ranges, and save file to alternate path via stream. When I tried to open the new file, I get an erro that file is “Open for Editing” by another process. .NET web service is creating file. I also can not delete file, and I have even restarted machine and still getting file locking errors in windows explorer and excel. Please HELP!!

Hi,

Thanks for using Aspose.Cells for .NET

Please download and use the latest version:
Aspose.Cells
for .NET v7.3.2.1

and see if it could resolve your issue.

If the problem still occurs, then please provide us your simple sample project replicating this issue with the latest version and also provide us any source (xls/xlsx) files you are using inside your code.

We will look into it and help you asap.