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

Free Support Forum - aspose.com

Using Aspose words insertDocument to merge document with content control creates duplicate content controls in merged document

Hi, I am using a licensed version of Aspose words DocumentBuilder.InsertDocument to merge two documents which has content controls in C#. The resulted merged document has duplicate content control from second document first content control. I have tried different approach but nothing works. Please review and provide your suggestions.

@rssriram,

Please ZIP and attach the following resources here for testing:

  • Your simplified input Word documents you are trying to merge
  • Aspose.Words for .NET 20.9 generated output DOCX file showing the undesired behavior
  • A screenshot highlighting the problematic duplicate content control in Aspose.Words generated output
  • Please also create a standalone simple Console application (source code without compilation errors) that helps us to reproduce your current problem on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size.

As soon as you get these pieces of information ready, we will start investigation into your particular scenario/issue and provide you more information.