Я получил следующую ошибку при попытке войти в защищенный каталог. Насколько я знаю, нет больших хеш-таблиц в использовании. Информация для входа пользователя находится в файле web.config. Обратите внимание, что это происходит в .NET 2.0. Я искал и нашел ссылки на это, встречающиеся в средах .net 1.0 или 1.1, но я не нашел решения для этого в 2.0+.Ошибка в Hashtable. Слишком высокий коэффициент загрузки. - ASP.NET 2.0
Мне нужно выяснить, почему это произошло, поэтому я могу избежать этого в будущем. Я мог бы просто сбросить сервер и, возможно, уйти, но я бы предпочел понять, почему это произошло.
Здесь вся страница об ошибке, как показано ниже:
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
Вы когда-нибудь выясняли, как это произошло? Наш сайт просто получил удар, но я не знаю, как его воспроизвести. Если он может быть воспроизведен, я бы знал, исправление, описанное ниже, действительно исправляет его. Спасибо. – HitLikeAHammer