Inner Error Message:
Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Microsoft.Xrm.Sdk.Client.OrganizationServiceContext.MergeEntity(Entity entity)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.AttachToContext(Entity entity)
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.d__97`1.MoveNext()
at Microsoft.Xrm.Sdk.Linq.PagedItemCollection`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at Microsoft.Xrm.Sdk.Linq.QueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source)
at NCBC_Portal_Solution.DataAccess.DAL.GetBoardById(Guid Id) in C:\VS Projects\North Carolina\NC - Boards And Commissions\NCBC Portal Solution\NCBC Portal Solution\DataAccess\DAL.cs:line 363
at NCBC_Portal_Solution.Pages.BoardDetails.Page_Load(Object sender, EventArgs e) in C:\VS Projects\North Carolina\NC - Boards And Commissions\NCBC Portal Solution\NCBC Portal Solution\Pages\BoardDetails.aspx.cs:line 25
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)