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

Exception in merge

Thread ID:





68064 Sep 7,2007 09:24 AM UTC Sep 8,2007 07:20 AM UTC ASP.NET Web Forms (Classic) 2
Tags: DocIO
Miguel Romani
Asked On September 7, 2007 09:24 AM UTC

I have version and office 2003 in Spanish.
And I need to generate mailing labels from an array of values, but I get the following exception when I execute

document.MailMerge.Execute(fields, values);

System.NullReferenceException was unhandled by user code
Message="Referencia a objeto no establecida como instancia de un objeto."
en Syncfusion.DocIO.DLS.MailMerge.ExecuteForParagraphs(IWParagraphCollection paragraphs, IRowsEnumerator rowsEnum)
en Syncfusion.DocIO.DLS.MailMerge.ExecuteForTable(IWTable table, IRowsEnumerator rowsEnum)
en Syncfusion.DocIO.DLS.MailMerge.ExecuteForParagraphs(IWParagraphCollection paragraphs, IRowsEnumerator rowsEnum)
en Syncfusion.DocIO.DLS.MailMerge.ExecuteForSection(IWSection sec, IRowsEnumerator rowsEnum)
en Syncfusion.DocIO.DLS.MailMerge.Execute(String[] fieldNames, String[] fieldValues)
en Listados_GeneraEtiquetas.btGenerar_Click(Object sender, EventArgs e) en c:\Projects\Alava\Listados\GeneraEtiquetas.aspx.cs:línea 76
en System.Web.UI.WebControls.Button.OnClick(EventArgs e)
en System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
en System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
en System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
en System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
en System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I have also found this error when tring to generate a report with an image in the header

Thanks in advance



Miguel Romani
Replied On September 7, 2007 09:26 AM UTC

I forgot to say I'm using vs2005 , C# and ASP.NET 2.0


Melba Winshia [Syncfusion]
Replied On September 8, 2007 07:20 AM UTC

Hi Miguel,

Thank you for your interest in Syncfusion products.

I am able to see the Null Exception in v4.2.0.60. But this issue has been resolved in our latest versions (5.x versions). Our latest version is available for download from below link.


Unlock key:

If your Essential Studio license is current, you will be able to obtain the key to install this version from your account in Direct Trac. Otherwise please contact your Syncfusion Sales Representative or e-mail salessupport@syncfusion.com.

Please try this in our latest version and let us know if the issue still exists.



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

or the page will be automatically redirected to 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