Item with the same key already exist server error

Yowaraj Chhetri asked on December 29, 2020 05:23

Hi guys,

Any idea about this error. My Solution is Kentico 12 MVC version 12.0.92.

application-error

Thanks in advance

Correct Answer

Juraj Ondrus answered on December 29, 2020 20:42

Are you using any custom code in the project? I mean any custom module classes? If yes, check the identifiers used in the module class constructor. E.g.
// Module class constructor, the system registers the module under the name "CustomInit"
public CustomInitializationModule()
: base("CustomInit")
{ }
Or, check any other custom code or projects you have integrated.

1 votesVote for this answer Unmark Correct answer

Recent Answers


Yowaraj Chhetri answered on January 3, 2021 23:54

Hi Juraj,

I am using custom module in my project. I had a module with same name both in MVC project and CMSApp project. This seems to be causing the problem. Thank you for your help.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.