An error occurred during topology synchronize. Exception : System.ArgumentException: Item has already been added. Key in dictionary: 'SiteCollectionsCacheDBb1'  Key being added: 'SiteCollectionsCacheDBb

Hi,

I see below exception in ULS logs on my SharePoint 2013 Farm , and because of it I am unable to start any timer jobs , Have tried to recreate cache and restart timer job but in vain , have also rebooted servers but no luck , does anyone know how to fix this issue ?

Level : Unexpected , Category : Administration , Process : OWSTimer.EXE , Area : SharePoint Server Search

An error occurred during topology synchronize. Exception : System.ArgumentException: Item has already been added. Key in dictionary: 'SiteCollectionsCacheDBb1947b25-6005-47a3-8c81-5edeffededb6'  Key being added: 'SiteCollectionsCacheDBb1947b25-6005-47a3-8c81-5edeffededb6'     at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)     at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes)     at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes)     at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes)     at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64 currentVersionOverride, List`1& newObjects, List`1& deletedObjects, Int64& newestObjectVersion)     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache()     at Microsoft.SharePoint.Administration.SPConfigurationDatabase.StoreObject(SPPersistedObject obj, Boolean storeClassIfNecessary, Boolean ensure)     at Microsoft.SharePoint.Administration.SPPersistedObject.BaseUpdate()     at Microsoft.Office.Server.Search.Administration.Topology.IndexTopologyHandler.RedistributeData(SearchTopology previousTopology, SearchTopology newTopology)     at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.ActivateComponentsInner(SearchTopology previousTopology)     at Microsoft.Office.Server.Search.Administration.Topology.SearchTopology.<>c__DisplayClassa.<ActivateComponents>

May 28th, 2015 2:02pm

Hi ,

Before this exception there is below entry :

Exception stack trace: at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at Microsoft.SharePoint.Administration.SPAutoSerializingObject.DeserializeBasicObject(XmlElement xmlValue, Boolean isMerge, Boolean bResolveMissingTypes) at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlNodeList childNodes, Boolean isMerge, Boolean bResolveMissingTypes) at Microsoft.SharePoint.Administration.SPAutoSerializingObject.SetStateXml(XmlDocument value, Boolean bResolveMissingTypes) at Microsoft.SharePoint.Administration.SPPersistedObject.Initialize(ISPPersistedStoreProvider persistedStoreProvider, Guid id, Guid parentId, String name, SPObjectStatus status, Int64 version, XmlDocument state) at Microsoft.SharePoint.AdministrationSPConfigurationDatabase.GetObject(Guid id, Guid parentId, Guid type, String name, SPObjectStatus status, Byte[] versionBuffer, String xml) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.GetObject(SqlDataReader dr) at Microsoft.SharePoint.Administration.SPConfigurationDatabase.RefreshCache(Int64 currentVersionOverride, List`1& newObjects, List`1& deletedObjects, Int64& newestObjectVersion) at Microsoft.SharePoint.Administration.SPConfigurationRefreshJobDefinition.Execute(Int64& newestVersion, Nullable`1 resumeJobId, Boolean& invalidated, Object& jobDefinitionsNew, Object& objectsDeleted) at Microsoft.SharePoint.Administration.SPTimerJobInvoke.InvokeConfigRefresh(TimerJobExecuteData& data, Int64& newestVersion, Int32& result, Boolean& invalidated, Object& jobDefinitionsNew, Object& objectsDeleted, Boolean& isServerBusy, Int32& recycleMode)

Free Windows Admin Tool Kit Click here and download it now
May 28th, 2015 3:10pm

Hi,

We are currently looking into this issue and will give you an update as soon as possible.
 
Thank you for your understanding and support.

Best Regards,

Lisa Chen

May 29th, 2015 8:47am

Thanks Lisa for your reply.

I also found that , SharePoint config database contains duplicate entry for this ID "b1947b25-6005-47a3-8c81-5edeffededb6' (found through powershell)  and there is no way to remove it as its part of a xml string and I cannot find any such column in any of the tables in sql.

Free Windows Admin Tool Kit Click here and download it now
May 29th, 2015 9:18am

Hi Lisa,

Any update on this issue ?

June 1st, 2015 12:29pm

You cannot vote on your own post           

Hi Lisa,

Any update ?

Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2015 9:04am

Hello praggy,

Please run the Configuration Wizard first to check if the wizard will work normally.

If the Wizard fails to complete, please post a screenshot, check the Windows Event log if there is any error related to our issue.

For your reference: Psconfig failure with error - An item with the same key has already been added:

http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx

Thanks for your time.

Best Regards,

Lisa Chen

June 4th, 2015 12:35am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics