Server Error in '/' Application.

An item with the same key has already been added.

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: An item with the same key has already been added.

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: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +60
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +14587128
   PintorProject.CMS.BusinessLayer.Path.GetSetting(String Key) in C:\Programming\PintorProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\BusinessLayer\Path.cs:568
   PintorProject.CMS.Web.CMSDefaultPage.SetCache() in C:\Programming\PintorProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\Web\CMSDefaultPage.cs:292
   PintorProject.CMS.Web.CMSDefaultPage.OnPreInit(EventArgs e) in C:\Programming\PintorProject.Platform\ServerComponents\Server Managment\CMSControl\CMS\Web\CMSDefaultPage.cs:419
   System.Web.UI.Page.PerformPreInit() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4797.0