代码之家  ›  专栏  ›  技术社区  ›  Brian Boatright

哈希表插入失败。负载系数太高。-ASP.NET 2.0

  •  6
  • Brian Boatright  · 技术社区  · 17 年前

    我需要弄清楚为什么会发生这种情况,这样我以后才能避免。我可以重新设置服务器,也许它会消失,但我更愿意理解它为什么会发生。

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

    太高了。

    描述:未处理的异常 有关堆栈跟踪的详细信息,请参阅

    例外情况详情: System.InvalidOperationException: 太高了。

    源错误:

    在执行当前 网络请求。有关 可以使用异常来识别 堆栈跟踪如下。

    [InvalidOperationException:哈希表 System.Collections.Hashtable.Insert(对象 键,对象值,布尔添加) 键,对象值)+11
    System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(类型
    +36 System.ComponentModel.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes() +50 System.ComponentModel.TypeDescriptor.GetAttributes(类型 组件类型)+26
    System.Web.UI.ThemeableAttribute.IsTypeThemeable(类型 类型)+98
    页码)+49
    System.Web.UI.Control.InitRecursive(控件 namingContainer)+2120286
    System.Web.UI.Control.InitRecursive(控件 namingContainer)+198
    System.Web.UI.Control.InitRecursive(控件 namingContainer)+198
    namingContainer)+198
    System.Web.UI.Page.ProcessRequestMain(布尔值 includeStagesAfterAsyncPoint)+834

    版本信息:Microsoft.NET 框架版本:2.0.50727.1433; ASP.NET版本:2.0.50727.1433

    3 回复  |  直到 17 年前
        1
  •  5
  •   Andrew Rollings    17 年前

    以下修补程序解决了这个(和其他)问题。

    http://support.microsoft.com/?id=927579

    (信息来源于 here

        2
  •  2
  •   Marc Gravell    14 年前

    在.NET4.0中,同样的错误再次出现;它是在一个热修复程序中修复的 KB:2576011 . 现在,它可能会被汇总到标准更新中(尚未检查),但是:如果需要,MS可以提供4.0的修补程序。

        3
  •  0
  •   Community Mohan Dere    9 年前

    我也遇到过类似的问题,概述如下: HashTable Insert Failed. Load Factor Too High. .NET 2.0 SP2

    但是,927579修补程序包含在.NET2.0SP1中( http://support.microsoft.com/kb/945757 )我们仍然得到了与上面列出的相同的问题。希望是更新的修补程序( http://code.msdn.microsoft.com/KB968432 )将一劳永逸地解决它。

    推荐文章