After saving xlsx the document ist WriteProtected

Hi

I have an xlsx file which is not protected (workbook.Settings.IsWriteProtected returns false). Now i save the file as xlsx and open it again, I have not made any changes on the document. When I check the workbook.Settings.IsWriteProtected property, it returns true now.

I am using Aspose.Cells version 6.0.1.0

Is this a know bug?
Thank you for your help.

Regards Bernhard

Hi,

Please use the latest version: Aspose.Cells for .NET v7.0.1.6
If you still find the issue, give us your template Excel files and sample code, we will look into your issue soon.

Thank you.

I tried it with the provided version Aspose.Cells for .NET v7.0.1.6 but i still get the issue as written above. I attached my test document.

Hi,


I can see the issue using the following sample code with your template file.

e.g
Workbook wb = new Workbook(“e:\test2\Test.xlsx”);
MessageBox.Show(wb.Settings.IsWriteProtected.ToString()); //False --> OK
wb.Save(“e:\test2\outTest_as.xlsx”);

wb = new Workbook(“e:\test2\outTest_as.xlsx”);
MessageBox.Show(wb.Settings.IsWriteProtected.ToString());//True --> Issue

I have logged a ticket for your issue with an id: CELLSNET-31277. We will figure it out soon.

Thank you.

Ok, thank you for the information

The issues you have found earlier (filed as 31277) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.