Aspose corrupts document when re-saving it to *.xls format


#1

Hi Aspose team,
Recently we faced with the issue when Aspose.Cells.dll corrupts document when re-saving it to *.xls format.
Microsoft Excel is able to open the document, but it blocks editing and shows a warning - “PROTECTED VIEW Office has detected a problem with this file. Editing it may harm your computer.”.
The issue is with a chart title. The issue disappears When the title is set invisible.
Code sample to reproduce:

Workbook wb = new Workbook(fName); 
wb.Save(nFName, SaveFormat.Excel97To2003);

Reproduced with:
Aspose.Cells 19.4.0.0
Microsoft Excel for Office 365 MSO (16.0.10730.20264) 32 bit

Added the documents with the chart alone (Test2.zip (12.9 KB))

  • test.xls - the original document;
  • test.xls.xls - corrupted document.

Please help with this problem.


Aspose corrupts document when re-saving it to *.xls format with worksheet names
#2

@licenses,

Thanks for the template file and sample code segment.

After an initial test, I am able to observe the issue as you mentioned by using your sample code with your template file. I have logged a ticket with an id “CELLSNET-46722” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.


#3

@licenses,

This is to inform you that your issue (logged earlier as “CELLSNET-46722”) has now been resolved. We will soon share the download link (after performing QA and incorporating other enhancements and fixes) to the latest fix/version which sorts out your issue.


#4

@licenses,

Please try our latest version/fix: Aspose.Cells for .NET v19.5.2 (attached)

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells19.5.2 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.5.2 For .Net4.0.Zip (4.9 MB)


#5

Hi Aspose support,
We tested updated dlls and for the provided documents the problem is fixed, but it does not fix general issue (unfortunately we cannot send customer’s documents). Please take a look on similar documents (were created on base of customers’ documents):
test4.zip (15.4 KB)


#6

@licenses,
Thank you for sharing another sample file, We were able to observe the issue and have reopened this ticket for further investigation. We will write back here once any feedback is ready to share.


#7

@licenses,

Please try our latest version/fix: Aspose.Cells for .NET v19.5.3 (attached)

We have resolved your issue now.

Let us know your feedback.
Aspose.Cells19.5.3 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.5.3 For .Net4.0.Zip (4.9 MB)


#8

The issues is resolved on Aspose.Cells for .Net v19.5.3. Tested on customers’ documents.
Thanks a lot for the help


#9

@licenses,
Good to know that your issue is sorted out by the suggested version. Feel free to contact us at any time if you need further help or have some other issue or queries, we will be happy to assist you soon.


#10

Hi Aspose team,

when do you plan to release this fix for public? Can we also get 19.5.3?

Thanks,
Oliver


#11

@dr_oli,

We are scheduled to release our next official version (i.e., Aspose.Cells for .NET v19.6) in the third/fourth week of June 2019. So, either you may try this fix for the time being or wait for the release to be published. You will also be notified here once the new release is published (both on Downloads and Nuget repos.).


#12

The issues you have found earlier (filed as CELLSNET-46722) have been fixed in Aspose.Cells for .NET v19.6. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi