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:


Line 99: 				}
Line 100:
Line 101:				var child =
Line 102:					new SiteMapItem
Line 103:					{

Source File: c:\inetpub\kermi-fko\App_Code\Atilekt.CMS.Modules.SiteMap.cs    Line: 101

Stack Trace:


[ArgumentException: An item with the same key has already been added.]
   System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +51
   System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +7480268
   AtilektCMS.SiteQueryString.Add(String[] param) in C:\WORK\Kermi-DLL\AtilektCMS\SiteQueryString.cs:59
   Atilekt.CMS.Modules.SiteMap.SiteMap.GetChildren(SiteMapItem parent, String filter) in c:\inetpub\kermi-fko\App_Code\Atilekt.CMS.Modules.SiteMap.cs:101
   Atilekt.CMS.Modules.SiteMap.SiteMap.GetRoot(SiteQueryString qs, String filter) in c:\inetpub\kermi-fko\App_Code\Atilekt.CMS.Modules.SiteMap.cs:207
   Moduls_MainMenu_client.Page_Load(Object sender, EventArgs e) in c:\inetpub\kermi-fko\Moduls\MainMenu\client.ascx.cs:119
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8806; ASP.NET Version:2.0.50727.8762