I am getting this error from my blog after posts deletions..

Mar 13, 2012 at 6:29 PM
Edited Mar 13, 2012 at 6:30 PM

 

My blog uses BE 2.5 and I am getting this error from home page (n all pages)..

Item has already been added. Key in dictionary: 'descriptioncharacters'  Key being added: 'descriptioncharacters'

 

[ArgumentException: Item has already been added. Key in dictionary: 'descriptioncharacters'  Key being added: 'descriptioncharacters']
   System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +9356715
   System.Collections.Hashtable.Add(Object key, Object value) +11
   System.Collections.Specialized.StringDictionary.Add(String key, String value) +60
   BlogEngine.Core.Providers.DbBlogProvider.LoadSettings() +291
   BlogEngine.Core.BlogSettings.Load() +51
   BlogEngine.Core.BlogSettings..ctor() +55
   BlogEngine.Core.BlogSettings.GetInstanceSettings(Blog blog) +169
   BlogEngine.Core.Web.HttpModules.WwwSubDomainModule.ContextBeginRequest(Object sender, EventArgs e) +44
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

How do i fix this..

Mar 13, 2012 at 7:51 PM
Edited Mar 13, 2012 at 7:53 PM

Ok.I did not know what caused this error (Duplicate key/value generation in db table) but I found and fixed it...

What i did -

1.I opened the SQL Server Management Studio and went to be_Settings tables double clicking it and opened in Editing mode

2.Started to remove duplicate values one by one like..

Item has already been added. Key in dictionary: 'descriptioncharacters'  Key being added: 'descriptioncharacters'

From this i searched descriptioncharacters field from be_settings table and deleted it..then again some other error cropped up and i removed that value from the be_settings and so on.. At one point all errors are gone n your blog is ONLINE !

:)


Bye...