London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

[AddOns.Blocks] Error: Key in dictionary OptimizingBlockSession

Vote:
 

Hello! 

We are receiving this kind of error now and then but couldn't find a way to reproduce it. Is it a known issue that may be fixed in the next version? AddOns.Blocks package is up to date.

System.ArgumentException: Item has already been added. Key in dictionary: 'OptimizingBlockSession' Key being added: 'OptimizingBlockSession'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd(String name, Object value)
at System.Web.SessionState.SessionStateItemCollection.set_Item(String name, Object value)
at EPiServer.Cms.AddOns.Blocks.Web.Sessions.OptimizingBlockSession.GetSession(String sessionName)
at EPiServer.Cms.AddOns.Blocks.InitializableModule.CheckGoal(Object sender, ValidateRequestAccessEventArgs validateRequestAccessEventArgs)
at EPiServer.SiteBase.OnValidateRequestAccess(ValidateRequestAccessEventArgs e)
at EPiServer.Global.Global_PreRequestHandlerExecute(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

#268322
Dec 13, 2021 9:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.