Recibí el siguiente error al intentar iniciar sesión en un directorio protegido. Hasta donde yo sé, no hay grandes hashtables en uso. La información de inicio de sesión del usuario se encuentra en el archivo web.config. Observe que esto está sucediendo en .NET 2.0. He buscado y he encontrado referencias sobre esto en entornos .NET 1.0 o 1.1 pero no he encontrado una solución para que ocurra en 2.0+.Error al insertar la tabla hash. Factor de carga demasiado alto. - ASP.NET 2.0
Necesito averiguar por qué sucedió esto para poder evitarlo en el futuro. Podría simplemente reiniciar el servidor y tal vez desaparezca, pero preferiría entender por qué sucedió.
Aquí está toda la página de error, como se muestra:
Server Error in '/' Application.
Hashtable insert failed. Load factor too high.
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.
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.] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +2903977 System.Collections.Hashtable.set_Item(Object key, Object value) +11
System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type) +323
System.ComponentModel.ReflectedTypeData.GetAttributes() +36 System.ComponentModel.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() +50 System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType) +26
System.Web.UI.ThemeableAttribute.IsTypeThemeable(Type type) +98
System.Web.UI.Control.ApplySkin(Page page) +49
System.Web.UI.Control.InitRecursive(Control namingContainer) +2120286
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Control.InitRecursive(Control namingContainer) +198
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
¿Alguna vez descubrió cómo sucedió esto? Nuestro sitio acaba de ser golpeado con esto, pero no tengo idea de cómo reproducirlo. Si se puede reproducir, sabría si la revisión descrita a continuación realmente lo corrige. Gracias. – HitLikeAHammer