CS 2009 issue – An item with the same key has already been added.

I ran into this issue while setting up CS 2009 on my local box. Funny thing is, this issue is fixed just by reactivating Commerce Server feature. I think recreate the channel configuration list and refresh the dictionary which add default channel name.

Event Type:    Error
Event Source:    SharePoint Commerce Services Exceptions
Event Category:    None
Event ID:    0
Date:        7/20/2011
Time:        6:41:36 PM
User:        N/A
Computer:    
Description:
An exception of type 'System.ArgumentException' occurred and was caught.
------------------------------------------------------------------------
07/20/2011 18:41:36
Type : System.ArgumentException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : An item with the same key has already been added.
Source : mscorlib
Help link :
ParamName :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ThrowArgumentException(System.ExceptionResource)
Stack Trace :    at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at Microsoft.Commerce.Application.Common.Configuration.ServiceConfiguration.CreateDictionary(String channelName)
   at Microsoft.Commerce.Application.Common.Configuration.ServiceConfiguration.GetSiteName(String channel)
   at Microsoft.Commerce.Broker.OperationService.InitializeOperationContext(CommerceRequest request)
   at Microsoft.Commerce.Broker.OperationService.ProcessRequest(CommerceRequest request)

Additional Info:

MachineName :
TimeStamp : 7/20/2011 1:11:36 PM
FullName : Microsoft.Commerce.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
AppDomainName :
ThreadIdentity :
WindowsIdentity : ServerName\Administrator