Server Error in '/' Application.

The given key was not present in the dictionary.

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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

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:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +66
   CommunityServer.Components.Section.IsMember(Int32 userid, SectionMembershipType type) +35
   CommunityServer.Components.Section.ResolvePermission(User user) +30
   CommunityServer.Discussions.Components.ForumPermission.Validate(Section section, Permission permission, User user, Post post, CSExceptionType& exceptionType) +500
   CommunityServer.Discussions.Components.ForumPermission.Validate(Section section, Permission permission, User user, Post post) +39
   CommunityServer.Components.Permissions.ValidatePermissions(Section section, Permission permission, User user, Post p) +40
   CommunityServer.Discussions.Controls.ForumPostData.GetHyperLink() +814
   CommunityServer.Controls.ObjectDataBase.GetContentTemplateWrapper() +18
   CommunityServer.Controls.ObjectDataBase.AddContentControls() +99
   CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() +106
   CommunityServer.Controls.WrappedContentBase.CreateChildControls() +35
   CommunityServer.Controls.WrappedContentBase.OnDataBinding(EventArgs e) +44
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +154
   CommunityServer.Controls.WrappedContentBase.DataBind() +109
   CommunityServer.Controls.ObjectDataBase.DataBind() +41
   System.Web.UI.Control.DataBindChildren() +187
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +164
   System.Web.UI.Control.DataBind() +17
   System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +128
   System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +220
   System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +73
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +229
   CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) +133
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) +370
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +63
   CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) +14
   System.Web.UI.WebControls.Repeater.DataBind() +81
   CommunityServer.Controls.WrappedRepeater.DataBind() +101
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() +30
   CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +32
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.AddedControl(Control control, Int32 index) +9883051
   System.Web.UI.ControlCollection.Add(Control child) +87
   CommunityServer.Controls.ConditionalContent.AddContentControls() +357
   CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() +106
   CommunityServer.Controls.WrappedContentBase.CreateChildControls() +35
   System.Web.UI.Control.EnsureChildControls() +97
   System.Web.UI.Control.PreRenderRecursiveInternal() +42
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


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