Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: A System.InvalidOperationException exception occurs when you run a Web application that is based in the .NET Framework 2.0 SP2 or in the .NET Framework 3.5 SP1


View products that this article applies to.

Symptoms

When you run a Web application that you created by using the Microsoft .NET Framework 2.0 Service Pack 2 (SP2) or the Microsoft .NET Framework 3.5 Service Pack 1 (SP1), you receive a System.InvalidOperationException exception together with the following error message:
Hashtable insert failed. Load factor too high.



at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.set_Item(Object key, Object value) 
at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes(Type type)

at System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes()

at System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes()

at System.ComponentModel.TypeDescriptor.GetAttributes(Type componentType)

↑ Back to the top


Cause

This problem occurs because multiple threads in the application call the Hashtable.Insert method at the same time.

↑ Back to the top


Resolution

Hotfix Replacement Information

The hotfix that corresponds to KB968432 has been superseded with the hotfix KB981145, which contains all fixes that were previously included in KB968432. You should use the hotfix KB981145 to fix the issues described in KB968432. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
981145 Workflows gradually take longer to load in a workflow designer that is re-hosted in the .NET Framework 2.0
 

↑ Back to the top


Status

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

↑ Back to the top


Keywords: kbhotfixserver, kbnotautohotfix, kbhotfixdev, kbexpertiseadvanced, kbqfe, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 968432
Revision : 5
Created on : 9/20/2018
Published on : 9/20/2018
Exists online : False
Views : 430