Hi we are using Aspose Word 17.5 to merge Word document with region.
If the region table contains a field with numeric format, we have this error :
(Exception of type ‘System.OutOfMemoryException’ was thrown.) --> at System.Text.StringBuilder.ExpandByABlock(Int32 minBlockCharCount)
at System.Text.StringBuilder.Append(Char value, Int32 repeatCount)
at System.Text.StringBuilder.Append(Char value)
at ?. (String )
at .? ?(String , Boolean , Boolean )
at Aspose.Words.Fields.FieldFormat.(? , String& )
at Aspose.Words.Fields.FieldFormat.(? , String& )
at ? .()
at ? .? ?()
at ? .(Field )
at ? . (? )
at ? .(? )
at ? .(? )
at ? .(? )
at ? .( ? , ? )
at ? .(ArrayList )
at ? .(ArrayList , ? )
at ? . ()
at ? . ()
at ? . ? ?( ? )
at ? .( ? )
at ? .( ? , ? )
at ? .(ArrayList )
at ? .(ArrayList , ? )
at ? . ()
at Aspose.Words.MailMerging.MailMerge.( ? )
The field is of this type : {<span style=“font-family: “Arial Narrow”, sans-serif; font-size: 11pt;”>MERGEFIELD a92f26da0_d4ea_4a98_857f_982614aa43c3 “(Taux
TVA article)” # “# ##0,00” }
TVA article)” # “# ##0,00” }
This error exists only on one server. We are testing with Aspose Word 17.4 and 16.11 with the same error.
There is no error if the format (# “##0,00”) is not specified.
Thank you in advance for your answer.