We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Regarding Mail Merge :- Index was out of range

Thread ID:





75260 Jul 18,2008 04:44 AM UTC Jul 18,2008 11:11 AM UTC WinForms 1
Tags: DocIO
Asked On July 18, 2008 04:44 AM UTC


I am using to product for performing mail merge. i create a document with mail merge fields.

I am getting error when i am trying to Execute group. I am using following Coding:-


and i m getting following error:

"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index"

Stack Trace is following :-
" at System.Collections.ArrayList.get_Item(Int32 index)
at Syncfusion.DocIO.DLS.ParagraphItemCollection.get_Item(Int32 index)
at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.FindInBodyItems(BodyItemCollection bodyItems)
at Syncfusion.DocIO.DLS.MailMerge.GroupSelector.ProcessGroups(WTextBody body, IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(WSection section, IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(IRowsEnumerator rowsEnum)
at Syncfusion.DocIO.DLS.MailMerge.ExecuteGroup(DataTable table)
at SDP.Base.QueryBuilder.MailMergeExecuter.ExecuteGrp(WordDocument document, MergeTable MT, DataSet DSet, WordDocument orgDoc, WordDocument& doc1, Int32 counter)"

Can you please guide me how to resolve this issue.


Gurpreet Madaan

Bhuvaneswari P [Syncfusion]
Replied On July 18, 2008 11:11 AM UTC

Hi Gurpreet,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the issue. Could you please provide your sample to reproduce the issue, so that we would be able to reproduce the issue in our end and investigate more on this issue.

Please let me know if you have any questions.

Best Regards,


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon