Nested Merge Field inside INCLUDETEXT Field & Insert Text from File in Word Document C# .NET [Migrated]

Hello,

We recently upgraded Aspose.Words to version 19.8 and started to have an issue when doing a mailmerge.

This mailmerge has INCLUDETEXT where it’s pulling the information from a web page.

First, the mailmerge was not finishing and just hangs consuming all CPU of the server.
Template reference: “mailmerge does not finish.doc”

After slightly modifying the template, the mailmerge finishes but not display correctly the tables information.
Template reference: “mailmerge finish but not display correctly.doc”
File generated: “result.pdf”

The merge fields values used were:
ProjectCustom_ProjectNumber: 201018
ProcessFields_BidPackageNumber: 03

URL generated:
http://appls.sucf.suny.edu/portal/proj/proj/utilities/phaseapprovalfees.cfm?Projectnumber=201018&bidpackage=03&approvedphase=Construction%20Administration

Please, let me know if you need anything else to find the root cause of this issue.

Zip with the 3 files mentioned in the description:
includetext issue.zip (713.3 KB)

Ruben Lerma
e-Builder, Inc.

This topic is copied from free account so please use this link for previous comments.
https://forum.aspose.com/t/nested-merge-field-inside-includetext-field-insert-text-from-file-in-word-document-c-net/207685

@kkurra,

This query has already been replied in an other thread.

@awais.hafeez,

Thanks…