Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cache error using Localization
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Cache error using Localization
Divers
Thread ID:
01035973
Message ID:
01035973
Vues:
47
From time to time (sporadically) the following error pops up in web applications that have localization turned on. Refresh the page, and the error goes away (but will eventually rear its ugly head again):
Item has already been added. Key in dictionary: "1" Key being added: "1" 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: "1" Key being added: "1"

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 


[ArgumentException: Item has already been added.  Key in dictionary: "1"  Key being added: "1"]
   System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +931
   System.Collections.Hashtable.Add(Object key, Object value) +11
   OakLeaf.MM.Main.Globalization.mmMessageManager.GetMessageCache(Object LanguagePk, Boolean ForceReload)
   OakLeaf.MM.Main.Globalization.mmMessageManager.GetMessageCache(Object LanguagePk)
   OakLeaf.MM.Main.Globalization.mmMessageManager.GetMessage(String messageKey, Object languagePK, Boolean returnMessageKeyIfNotFound)
   OakLeaf.MM.Main.Globalization.mmMessageManager.GetMessage(String messageKey, Object languagePK)
   OakLeaf.MM.Main.Web.UI.WebControls.mmLabel.LocalizeText(Object languagePK)
   OakLeaf.MM.Main.Web.UI.WebControls.mmLabel.LocalizeHandler(Object sender, mmLocalizeEventArgs e)
   OakLeaf.MM.Main.Web.UI.mmLocalizeDelegate.Invoke(Object sender, mmLocalizeEventArgs e) +0
   OakLeaf.MM.Main.Web.UI.mmBaseWebPage.OnLocalize(Object languagePK)
   OakLeaf.MM.Main.Web.UI.mmBaseWebPage.OnLoad(EventArgs e)
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +731

 


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573 
Carl Olson, Jr.
CEO, Founder
Cerelogic, Inc.

www.cerelogic.com

"Applying rocket science to business."
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform