Content Control disappear when saving a docx


I am trying to save this document as a DOCX file and it saved it successfully but somehow removed one of the content control on the second page (Content Control Title : RepeatCC-6ceba03d-0f87-4862-82d7-0915150)

I am using Aspose.Word 18.7 DLL.

Here is the code:

byte[] fileContent = GetBytesFromFile("C:\\Save_Issue.docx"); // this returns byte string

var ms = new MemoryStream();

ms.Write(fileContent , 0, fileContent .Length);

ms.Seek(0, SeekOrigin.Begin);

AsposeDocument m_document = new AsposeDocument(ms);


Please let me know what I am missing. (38.8 KB)


Thanks for your inquiry. While using the latest version of Aspose.Words i.e. 18.8, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-17291. Your thread has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

The issues you have found earlier (filed as WORDSNET-17291) have been fixed in this Aspose.Words for .NET 20.7 update and this Aspose.Words for Java 20.7 update.