本文介绍了当我运行我的项目时,出现以下错误,这意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
已经添加了具有相同键的项目.
An item with the same key has already been added.
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) +51
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +7460188
System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +11
Geekees.Common.Utilities.Json.JsonObject.Add(String key, String item) +119
Geekees.Common.Controls.ASTreeViewHelper.GetNodeJson(ASTreeViewNode node) +1592
Geekees.Common.Controls.ASTreeViewHelper.GetNodeJson(ASTreeViewNode node) +443
Geekees.Common.Controls.ASTreeViewHelper.GetNodeJsonString(ASTreeViewNode node) +122
Geekees.Common.Controls.ASTreeView.GenerateTree() +434
Geekees.Common.Controls.ASTreeView.OnPreRender(EventArgs e) +163
System.Web.UI.Control.PreRenderRecursiveInternal() +80
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
推荐答案
这篇关于当我运行我的项目时,出现以下错误,这意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!