System.InvalidOperationException: Sequence contains no elements - when sending email

When sending email based on an Imported List, the following error is received:

[7/24/2018 8:13:52 AM] - [Created]
 
[7/24/2018 8:13:52 AM] - [Prepared]
 
[7/24/2018 8:14:33 AM] - [Processing]
 
[7/24/2018 8:14:33 AM] - [Exception]
System.InvalidOperationException: Sequence contains no elements
   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.ImportedListDataProcessor.get_EmailAddressAlias()
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.EmailDataProcessorBase.InitializeListProcessor(EmailListProcessorBase processor)
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.ImportedListDataProcessor.get_ListProcessor()
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.ImportedListDataProcessor.BuildRecipientsSelectionSQL()
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.EmailDataProcessorBase.GetRecipientsSelectionSQL()
   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.EmailProcessor.ProcessEmail()

   at Blackbaud.AppFx.ContentManagement.Platform.Email.Catalog.ProcessCMSEmailBusinessProcess.StartBusinessProcess()
 
This issue typically occurs as a result of field mapping issues, and/or data included in the CSV file.  The most common cause would be two columns with the same name.  

Steps to Duplicate

1. Import a CSV file into an Email List.
2. Send an Email with the List.
3. Receive error.

Environment

 Blackbaud Internet Solutions
 4.0
 4.0.180

Was this article helpful?