we coded web application using nettiers for data access. and we found a such an exception in nettiers v2.2.0603.
It is said that this problem has been solved in version v2.2.0603. But i still find this problem and it happens randomly. It seems to be caused by Multithreading.
Inner Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at System.Collections.Generic.Dictionary`2.Resize() at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) at Microsoft.Practices.ObjectBuilder.WeakRefDictionary`2.Add(TKey key, TValue value) at Microsoft.Practices.ObjectBuilder.Locator.Add(Object key, Object value)
at MyCompany.Entities.EntityLocator.Add(String key, Object value) in
C:\Dev\MyCompany\MyCompany.Entities\EntityLocator.cs:line 32 at
MyCompany.Entities.EntityManager.StartTracking(String key, IEntity
entity, Boolean isTrackingEnabled) in
C:\Dev\MyCompany\MyCompany.Entities\EntityManager.cs:line 223 at
String typeString, Type entityFactoryType, Boolean isLocatorEnabled) in
Anyone knows how to fix this bug?