Opening .doc with Word IF's and saving as .docx using Aspose Words corrupts document

Hi there,

We have found an issue with the attached document that is a .doc format. Once opened through Aspose.Words and saved as a .docx format the document becomes corrupt.

Using Aspose.Words .NET 17.7.0

Code is below:

'Upgrade the document
oAsposeDocument = New Document(oDocumentFile.FullName)

oAsposeDocument.Save(CombinePath(oDocumentFile.DirectoryName, String.Format("{0}.docx", IO.Path.GetFileNameWithoutExtension(oDocumentFile.FullName))), SaveFormat.Docx)

CorruptedOnDocxSave.zip (11.1 KB)

@kian.govahi

Thanks for your inquiry. We have converted your shared word document to DOCX but unable to notice any exception in API and resultant document is opening fine in MS Word as well. We will appreciate it if you please share your output document and some more details of error you are facing, along with screen shot. We will further investigate the issue and will guide you accordingly.