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.
Unfortunately, activation email could not send to your email. Please try again.

Exception in merge

Thread ID:

Created:

Updated:

Platform:

Replies:

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

I have version 4.2.0.60 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."
Source="Syncfusion.DocIO.Base"
StackTrace:
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

Labels.zip

Miguel Romani
Replied On September 7, 2007 05:26 AM

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

Miguel

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

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.

http://www.syncfusion.com/downloads/latestversion/default.aspx

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.

Thanks,
Melba




CONFIRMATION

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.

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.

;