Improper mail-merge of document

Hello,
I am using aspose for mail-merge the document; however, I am facing some issue.
Sometimes mail-marge sucessed to generate the document and sometimes it fails with showing the code part in the document/pdf.
I am attaching both sucess as well as fail document along with word file.Aspose.zip (234.0 KB)

Please help me out to solve the issue.

Thanks,

@NanduNairSigma,

Have you tried the latest version of Aspose.Words for .NET i.e. 19.9 on your end?

How did you produce Success.pdf and Fail.pdf documents? Please also create a standalone simple Console application (source code without compilation errors) that helps us to reproduce Success.pdf and Fail.pdf documents on our end and attach it here for testing. Please do not include Aspose.Words DLL files in it to reduce the file size. Thanks for your cooperation.