“/”应用程序中的服务器错误。

给定关键字不在字典中。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Collections.Generic.KeyNotFoundException: 给定关键字不在字典中。

源错误:


行 60:             <span class="h1"><a href="/">首页</a>&nbsp;&gt;&nbsp;</span>
行 61:             <span class="h1"><a href="/zhishi/">众包知识</a>&nbsp;&gt;&nbsp;</span>            
行 62:             <span class="h1"><%=xiaoleiID>0?"<a href='/zhishi/"+classDict["p" + fenlei1ID].Split('_')[3]+"/' target='_blank'>":"" %><%=classDict["p" + fenlei1ID].Split('_')[1]%><%=xiaoleiID>0?"</a>":"" %></span>
行 63:             <span class="h1"><%=!string.IsNullOrWhiteSpace(currClassName)?" > "+ currClassName:""%></span>
行 64:              

源文件: z:\iis\www.680.com\zhishi\2018\list2.aspx    行: 62

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12829231
   ASP.zhishi_2018_list2_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in z:\iis\www.680.com\zhishi\2018\list2.aspx:62
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +270
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +14
   System.Web.UI.Page.Render(HtmlTextWriter writer) +30
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +67
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +101
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +27
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1342


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.3928.0