Free Support Forum - aspose.com

Prevent SmartArt Drawing Corruption during Converting a Word Document to DOCX Format C# .NET | Table Structure

The attached document is transferred to the system, the document created with Aspose is corrupted.
I attached the original file and corrupted file. We are using Aspose.Word 20.9 version. Thanks
YG12781

@srmbimser,

We are unable to download the files you attached in first post. Please ZIP and upload your input Word document and Aspose.Words generated corrupted file again here for testing. We will then investigate the issue on our end and provide you more information.

You can download the document by clicking the download button
http://dm.bimser.com.tr/eba.net/Default.aspx?turl=ta6B4goYYUmCavEDOamxKw

@srmbimser,

We have converted your “original document.docx” document to DOCX format by using MS Word 2019 and the latest (20.9) version of Aspose.Words for .NET on our end and attached the DOCX files here for your reference:

Here is the C# code that we used on our end to produce above ‘aspose.words for .net 20.9.docx’:

Document doc = new Document("C:\\Temp\\YG12781\\original document.docx");
doc.Save("C:\\temp\\YG12781\\aspose.words for .net 20.9.docx");

Do you see the same problem in “aspose.words for .net 20.9.docx”? If yes, then please create and attach here a comparison screenshot which highlights the problematic areas in this Aspose.Words 20.9 generated DOCX (with respect to original document). We will then investigate the issue further and provide you more information.

originaldoc.PNG (74.5 KB)
asposetoword.PNG (64.8 KB)

@srmbimser,

Yes, we can also observe this problem in the “aspose to word.docx” that you shared earlier. As mentioned in my previous post, we don’t see any such problem in output document when we convert “original document.docx” to DOCX format on our end (by using the 20.9 version of Aspose.Words). Please double check that you are indeed using the latest 20.9 version of Aspose.Words for .NET on your end. Can you please share the piece of source code you used to produce “aspose to word.docx”? Also, share your environment details (OS, .NET frameworks versions etc). Please also share any other resources/steps that you think are required to reproduce this issue on our end. Thanks for your cooperation.

You can download the project you can test from the link
http://dm.bimser.com.tr/eba.net/Default.aspx?turl=bWQzjr0cSke2WhZnIaxoCA

@srmbimser,

We are checking this scenario and will get back to you soon.