Select the product you need help with
FIX: InvalidOperationException error when a multithreaded application has high throughput in the .NET Framework 4Article ID: 2576011 - View products that this article applies to. On This PageSYMPTOMSConsider the following scenario:
Hashtable insert failed. Load factor too high. The most common cause is multiple threads writing to the Hashtable simultaneously. For example, you run an ASP.NET application or a web service, and the application or the web service calls the System.ComponentModel.TypeDescriptor.GetProvider method. Note When this issue occurs, the call stack resembles the following: at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.ComponentModel.TypeDescriptor.NodeFor(Type type, Boolean createDelegator) at System.ComponentModel.TypeDescriptor.GetProvider(Type type) at System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider..ctor(Type type) at System.Web.Mvc.ModelBinderDictionary.GetBinder(Type modelType, IModelBinder fallbackBinder) at System.Web.Mvc.ControllerActionInvoker.GetParameterValue(ControllerContext controllerContext, ParameterDescriptor parameterDescriptor) at System.Web.Mvc.ControllerActionInvoker.GetParameterValues(ControllerContext controllerContext, ActionDescriptor actionDescriptor) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) at System.Web.Mvc.Controller.ExecuteCore() at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5() at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0() at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) CAUSEThis issue occurs because an internal HashTable object is accessed by multiple writers of the multithread application. RESOLUTIONHotfix informationA supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.To resolve this problem, 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 website: 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.
(http://support.microsoft.com/contactus/?ws=support)
PrerequisitesTo apply this hotfix, you must have the .NET Framework 4 installed.Restart requirementYou have to restart the computer after you apply this hotfix if the affected files are being used.File informationThe global 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.For all supported x86-based versions of the .NET Framework 4 for Windows Server 2003, for Windows XP, for Windows Vista, for Windows Server 2008, or for Windows 7 Collapse this table
For all supported x64-based versions of the .NET Framework 4 for Windows Server 2003, for Windows XP, for Windows Vista, for Windows Server 2008, for Windows 7, or for Windows Server 2008 R2 Collapse this table
For all supported IA-64–based versions of the .NET Framework 4 for Windows Server 2003, for Windows Server 2008, or for Windows Server 2008 R2 Collapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. PropertiesArticle ID: 2576011 - Last Review: September 28, 2011 - Revision: 1.0
| Article Translations
|


Back to the top








