Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Hashtable insert failed. Load factor too high. View modes: 
User avatar
Member
Member
alexandrel-kimahrisoftware - 3/1/2012 1:07:54 PM
   
Hashtable insert failed. Load factor too high.
Hi,

I got this exception on my website, any help would be much appreciated.


Server Error in '/' Application.
________________________________________
Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the Hashtable simultaneously.
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: Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the Hashtable simultaneously.

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: Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the Hashtable simultaneously.]
System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +12640665
CMS.CMSHelper.SessionManager.UpdateCurrentSession(String siteName) in D:\Projet\Public Web Sites - Scrum\KenticoSourceCode\CmsHelper\SessionManagement\SessionManager.cs:307
Global.Session_Start(Object sender, EventArgs e) +108
System.Web.SessionState.SessionStateModule.CompleteAcquireState() +409
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1296
System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +115
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +371

________________________________________
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

User avatar
Member
Member
kentico_alleng - 3/1/2012 2:07:36 PM
   
RE:Hashtable insert failed. Load factor too high.
Hello,

The only references I can find to this error are in a Microsoft KB article regarding the .NET Framework 1.1. You may be able to resolve this issue by updating any framework version you have to the latest update.

The information from Microsoft's site can be found here:

http://support.microsoft.com/kb/831730/

Regards,

Allen

User avatar
Member
Member
alexandrel-kimahrisoftware - 3/1/2012 2:10:52 PM
   
RE:Hashtable insert failed. Load factor too high.
Thanks but we run on the Framework 4.0 so I quite sure it a different bug.

User avatar
Member
Member
kentico_alleng - 3/1/2012 3:53:15 PM
   
RE:Hashtable insert failed. Load factor too high.
I'll continue to troubleshoot this with you via email, as it may be specific to your installation.

User avatar
Member
Member
govindaraj.kathirvel-citi - 3/13/2012 10:25:05 AM
   
RE:Hashtable insert failed. Load factor too high.
Refer this KB for .NET 4.0

http://support.microsoft.com/kb/2576011

User avatar
Member
Member
alexandrel-kimahrisoftware - 3/13/2012 10:35:48 AM
   
RE:Hashtable insert failed. Load factor too high.
Thanks for the reply.

I was already aware of this article but it only apply if the application call
System.ComponentModel.TypeDescriptor.GetProvider method. As far as I known this is not the case.