Server Error in '/' Application.

Sequence contains no elements

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Sequence contains no elements

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: Sequence contains no elements]
   System.Linq.Enumerable.First(IEnumerable`1 source) +417
   Blackbaud.Web.Content.Core.Event2.Event2Options.Load(Guid id, Boolean bypassCache) +292
   Blackbaud.Web.Content.Portal.EventUIRegistrantBox.get_EventOptionsData() +290
   Blackbaud.Web.Content.Portal.EventUIRegistrantBox.get_BioFields() +21
   Blackbaud.Web.Content.Portal.EventUIRegistrantBox.IsGuestBioFieldIncluded(Int32 field) +59
   Blackbaud.Web.Content.Portal.EventUIRegistrantBox.Build(Attendee boxData, Int32 boxIndex, Content contentObject) +715
   Blackbaud.Web.Content.Portal.EventUIRegistrationGroups.BindRegistrants(Object sender, RepeaterItemEventArgs e) +244
   System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +139
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +193
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +291
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +109
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +81
   Blackbaud.Web.Content.Portal.EventUIRegistrationGroups.Setup(Content contentObject) +439
   Blackbaud.Web.Content.Portal.EventUIStep1.Build(Content contentObject) +68
   Blackbaud.Web.Content.Portal.Event2Display.LoadCurrentStep() +321
   Blackbaud.Web.Content.Portal.Event2Display.LoadCurrentStepFromQueryString(Int32 currentStep) +2134
   Blackbaud.Web.Content.Portal.Event2Display.Page_Load(Object sender, EventArgs e) +882
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0