相关疑难解决方法(0)

Hashtable插入失败.负载系数太高. - ASP.NET 2.0

尝试登录到安全目录时收到以下错误.据我所知,没有大的哈希表在使用中.用户登录信息位于web.config文件中.请注意,这发生在.NET 2.0中.我搜索并发现在.net 1.0或1.1环境中发生的这种情况,但我还没有找到2.0 +发生的解决方案.

我需要弄清楚为什么会这样,所以我将来可以避免它.我可以重置服务器,也许它会消失,但我更愿意理解它为什么会发生.

这是整个错误页面,如下所示:

'/'应用程序中的服务器错误.

Hashtable插入失败.负载系数太高.

描述:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪以获取有关错误及其源自代码的位置的更多信息.

异常详细信息:System.InvalidOperationException:Hashtable插入失败.负载系数太高.

来源错误:

在执行当前Web请求期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来识别有关异常的起源和位置的信息.

堆栈跟踪:

[InvalidOperationException:Hashtable插入失败.加载因子太高.] 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)+834

版本信息:Microsoft .NET Framework版本:2.0.50727.1433; ASP.NET版本:2.0.50727.1433

asp.net exception .net-2.0

6
推荐指数
1
解决办法
7708
查看次数

标签 统计

.net-2.0 ×1

asp.net ×1

exception ×1