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

Free Support Forum - aspose.com

Aspose word corrupt a specific file on save

Hi


We are using ASPOSE word version 13.9.0.0

Recently our client has raised concern that ASPOSE corrupts their files. After investigation, we found that it is only for specific files. I have attached the file for you investigation.

The repro code is as below:

void Main()
{
ResaveWordFile(@“C:\Users\Bill\Downloads\WPB Credit Dash Board Template 2014081301.docx”);
}

private static void ResaveWordFile(string tempFileName)
{
var fileMetaData = new StringBuilder();

//Open workbook
var wDoc = new Aspose.Words.Document(tempFileName);

var builder = new DocumentBuilder();
builder.Document = wDoc;
builder.Document.Save(tempFileName, SaveFormat.Docm);
builder = null;
wDoc = null;
}

Can you please take a look and let us know if you can reproduce it please?


Regards

Bill

Hi Bill,

Thanks for your inquiry.

I have tested the scenario and have managed to produce the System.ArgumentException while converting Docx to Docm. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10637. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Hi Bill,

Thanks for your patience. Please use the latest version of Aspose.Words for .NET 14.9.0. This issue has been fixed in latest version of Aspose.Words for .NET 14.9.0.

Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.

The issues you have found earlier (filed as WORDSNET-10637) have been fixed in this .NET update and this Java update.


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

Hi Tahir


Thanks for the updates. We will arrange a fix for our client soon and let you know how it goes.


Regards

Bill