Error: [Exception] System.ArgumentException: Column 'does not belong to Table.'" when running an email job."

Tise error message occurs when running an email job:

[Exception] System.ArgumentException: Column '' does not belong to table Table.
   at System.Data.DataRow.GetDataColumn(String columnName)
   at System.Data.DataRow.get_Item(String columnName)
   at Blackbaud.Web.Content.Core.BBDM_DataProvider.GetFieldById(Int32 fieldid, Int32 AttributeID)
   at Blackbaud.Web.Content.Core.EmailJob.AddMergeRowDataForRecipient2(String sRecipientKey, IDataProvider[] oData)
   at Blackbaud.Web.Content.Core.EmailJob.PopulateMergeDataForRecipient2(String sKey, String sSourceKey, IDataProvider oData, String sEmailAddress, String sEmailDisplayName, Boolean bGlobalOptedOut, Int32 UserID, Int32 AddressBookid, Int32 BackOfficeRecordID, Int32 BackOfficeSystemID)
   at Blackbaud.Web.Content.Core.EmailJob.PopulateRecipient2(IDataProvider oRecipient, String sKey, String sSourceKey)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessBBDM_List(String sSourceKey, IDataSource oDS, EmailList oList)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessList(Int32 iListID)
   at Blackbaud.Web.Content.Core.EmailJob.ProcessAddressees()
   at Blackbaud.Web.Content.Core.EmailJob.DoProcessMailBlast()
   at Blackbaud.Web.Content.Core.EmailJob.ProcessMailBlast()
The issue is the merge fields somehow got mixed up between the email and export definition.   The solution is to delete the merge fields from the email and re-add them.

Environment

 2.9.1001 patch 156

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.