Microsoft Knowledge Base Email Alertz

FIX: Error message together with a System.InvalidOperationException exception when you run an ASP.NET 2.0 application: Hashtable insert failed. Load factor too high

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 969454 - Last Review: July 24, 2009 - Revision: 1.0

FIX: Error message together with a System.InvalidOperationException exception when you run an ASP.NET 2.0 application: "Hashtable insert failed. Load factor too high"

On This Page

SYMPTOMS

When you run an ASP.NET 2.0 application, you receive the following error message together with a "System.InvalidOperationException" exception:
Hashtable insert failed. Load factor too high.


Note For more information about the stack trace, see the More information section.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites

You must have Microsoft .NET Framework 2.0 Service Pack 1 (SP1) installed to apply this hotfix. You must apply this hotfix on Windows 2000, Windows XP and Windows Server 2003.

Restart requirement

You may have to restart the computer after you apply this hotfix if any of the affected files are being used when you install it. Shutting down any ASP.NET Web site before you install the fix should enable you to avoid having to restart the system.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows 2000, Windows XP and Windows Server 2003, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_perf.dll2.0.50727.187230,02423-Jun-200904:29x86
Aspnet_wp.exe2.0.50727.187230,01623-Jun-200904:29x86
System.web.dll2.0.50727.18725,185,53623-Jun-200904:30x86
Webengine.dll2.0.50727.1872430,40023-Jun-200904:29x86
Windows 2000, Windows XP and Windows Server 2003, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_perf.dll2.0.50727.187237,70423-Jun-200900:12x64
Aspnet_wp.exe2.0.50727.187241,79223-Jun-200900:11x64
System.web.dll2.0.50727.18725,263,36023-Jun-200900:16x64
Webengine.dll2.0.50727.1872734,54423-Jun-200900:11x64
Windows Server 2003, IA-64 based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_perf.dll2.0.50727.187279,68823-Jun-200910:03IA-64
Aspnet_wp.exe2.0.50727.187280,72023-Jun-200910:02IA-64
System.web.dll2.0.50727.18724,743,16823-Jun-200910:03IA-64
Webengine.dll2.0.50727.18721,210,70423-Jun-200910:03IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

When this issue occurs, a stack trace that resembles the following is generated:
Exception type: System.InvalidOperationException
Message: Hashtable insert failed. Load factor too high.
InnerException: <none>
StackTrace (generated):
SP IP Function
032FED10 7962D24A System.Collections.Hashtable.Insert(System.Object, System.Object, Boolean)
032FED40 7936828C System.Collections.Hashtable.set_Item(System.Object, System.Object)
032FED48 65FEA145 System.Web.Configuration.HttpCapabilitiesBase.GetAdapter(System.Web.UI.Control)
032FED70 6613AA52 System.Web.UI.Control.ResolveAdapter()
032FED78 66150CD4 System.Web.UI.Page.get_PageAdapter()
032FED80 6614DC00 System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean)

APPLIES TO
  • Microsoft .NET Framework 2.0 Service Pack 1 (x86)
  • Microsoft ASP.NET 2.0
Keywords: 
kbhotfixserver kbexpertiseadvanced kbqfe kbsurveynew KB969454
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate