徵狀
當您執行您使用 Microsoft.NET Framework 2.0 的 Service Pack 2 (SP2) 或 Microsoft.NET Framework 3.5 Service Pack 1 (SP1) 建立的 Web 應用程式時,您會收到與下列System.InvalidOperationException例外狀況錯誤訊息:
Hashtable 插入失敗。 載入因數太 high.at System.Collections.Hashtable.Insert (索引鍵,物件 nvalue 物件,布林值加入) 在 System.Collections.Hashtable.set_Item (物件識別碼,物件值)在 System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData.GetAttributes (),在 System.ComponentModel.ReflectTypeDescriptionProvider.ReflectGetAttributes (型別型別)System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor.System.ComponentModel.ICustomTypeDescriptor.GetAttributes (),在 System.ComponentModel.TypeDescriptor.GetAttributes (型別 componentType)
原因
因為應用程式中的多個執行緒同時呼叫Hashtable.Insert方法,就會發生這個問題。
解決方案
Hotfix 取代資訊
此 hotfix 之後 KB981145,其中包含先前包括在 KB968432 中的所有修正程式已經取代對應至 KB968432 的 hotfix。 若要修正 KB968432 中所述的問題,您應該使用 hotfix KB981145。如需詳細資訊,按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:
981145 工作流程逐漸需要較長的時間是在.NET Framework 2.0 中重新裝載工作流程設計工具中載入
狀態
Microsoft 已確認本篇文章<適用於>一節所列之 Microsoft 產品確實有上述問題。