General information
Category:
The Mere Mortals .NET Framework
Title:
Item already added error
Environment versions
Network:
Windows 2003 Server
Our website sproradically gets an "Item has already been added. Key in dictionary:" error. I have tracked it down to the OakLeaf.MM.Main.Managers.mmDatabaseManager.GetConnectionString(String databaseKey) method calling System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add). I have a feeling that two website users are attempting to access a database key for the first time at the same time and one of them is inserting the key into the cache before the other user and the second user is getting this error. Does anyone else have this problem?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only