Friday, January 8, 2010

IS Item has already been added. Key in dictionary: 'captcha.textforecolor' Key being added: 'captcha.textforecolor'

Interprise Suite Version: 2007 SP5.3

Problem:

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: 'captcha.textforecolor'  Key being added: 'captcha.textforecolor'

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: 'captcha.textforecolor'  Key being added: 'captcha.textforecolor']
   InterpriseSuiteEcommerceCommon.Global.m_Application_Start(Object sender, EventArgs e) +484
   InterpriseSuiteEcommerceCommon.Global.Application_Start(Object sender, EventArgs e) +9

Solution:

Look for duplicate AppConfig values in the WebStoreAppConfig table e.g. select * from WebStoreAppConfig where Name = 'captcha.textforecolor'.  There should be two rows with the same AppConfig name.  Delete one of these rows.

No comments:

Post a Comment