给定关键字不在字典中。

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

给定关键字不在字典中。

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

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

源错误:


行 28: System.Collections.Generic.List<BeCool.AMS.BeCool_AMS_Article> articles = BeCool.AMS.ArticleControl.Instance.NewList();
行 29: if(BeCool.Utils.ConvertUtils.ToStringEx(dataType)=="ams"){
行 30: BeCool.AMS.BeCool_AMS_Catalog catalog = BeCool.AMS.CatalogControl.Instance.GetCurrent(BeCool.Utils.ConvertUtils.ToStringEx("CatalogId"));
行 31: if(BeCool.Utils.ConvertUtils.ToStringEx(catalogId)=="-2"){
行 32: catalogId = catalog.CatalogId;

源文件: d:\www_beiyi\beiyi2017\BeCool\Apps\articleListWithThumbAndTime\articleListWithThumbAndTime.aspx    行: 30

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) +59
   BeCool.Core.EntityControl`3.GetOneFromCache(String key, Boolean& isExist, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.Cache.cs:85
   BeCool.Core.EntityControl`3.GetOne(Int32 id, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.GetOne.cs:28
   BeCool.AMS.CatalogControl.GetCurrent(String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\AMS\c\CatalogControl.Get.cs:131
   ASP.becool_apps_articlelistwiththumbandtime_articlelistwiththumbandtime_aspx.OnInit(EventArgs e) in d:\www_beiyi\beiyi2017\BeCool\Apps\articleListWithThumbAndTime\articleListWithThumbAndTime.aspx:30
   System.Web.UI.Control.InitRecursive(Control namingContainer) +392
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1638


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3163.0
δִнű: Http ״̬ = 500
给定关键字不在字典中。

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

给定关键字不在字典中。

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

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

源错误:


行 12: System.Boolean isValidated = BeCool.Utils.RequestUtils.GetBoolean(BeCool.Utils.ConvertUtils.ToStringEx("isValidated"),BeCool.Utils.ConvertUtils.ToBool("false"));
行 13: tb.Append("\n<div class='articleListPager'>");
行 14: BeCool.AMS.BeCool_AMS_Catalog catalog = BeCool.AMS.CatalogControl.Instance.GetCurrent(BeCool.Utils.ConvertUtils.ToStringEx("CatalogId"));
行 15: if(BeCool.Utils.ConvertUtils.ToStringEx(catalogId)=="-2"){
行 16: catalogId = catalog.CatalogId;

源文件: d:\www_beiyi\beiyi2017\BeCool\Apps\articleListPager\articleListPager.aspx    行: 14

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) +59
   BeCool.Core.EntityControl`3.GetOneFromCache(String key, Boolean& isExist, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.Cache.cs:85
   BeCool.Core.EntityControl`3.GetOne(Int32 id, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.GetOne.cs:28
   BeCool.AMS.CatalogControl.GetCurrent(String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\AMS\c\CatalogControl.Get.cs:131
   ASP.becool_apps_articlelistpager_articlelistpager_aspx.OnInit(EventArgs e) in d:\www_beiyi\beiyi2017\BeCool\Apps\articleListPager\articleListPager.aspx:14
   System.Web.UI.Control.InitRecursive(Control namingContainer) +392
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1638


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3163.0
δִнű: Http ״̬ = 500
您的专业首选
给定关键字不在字典中。

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

给定关键字不在字典中。

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

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

源错误:


行 24: System.Collections.Generic.List<BeCool.AMS.BeCool_AMS_Article> articles__2F95S0eOU_ew6dj8EYpHg = BeCool.AMS.ArticleControl.Instance.NewList();
行 25: if(BeCool.Utils.ConvertUtils.ToStringEx(dataType__2F95S0eOU_ew6dj8EYpHg)=="ams"){
行 26: BeCool.AMS.BeCool_AMS_Catalog catalog__2F95S0eOU_ew6dj8EYpHg = BeCool.AMS.CatalogControl.Instance.GetCurrent(BeCool.Utils.ConvertUtils.ToStringEx("CatalogId"));
行 27: if(BeCool.Utils.ConvertUtils.ToStringEx(catalogId__2F95S0eOU_ew6dj8EYpHg)=="-2"){
行 28: catalogId__2F95S0eOU_ew6dj8EYpHg = catalog__2F95S0eOU_ew6dj8EYpHg.CatalogId;

源文件: d:\www_beiyi\beiyi2017\Templates\PC\include\sidebar_Recommends.aspx    行: 26

堆栈跟踪:


[KeyNotFoundException: 给定关键字不在字典中。]
   System.Collections.Concurrent.ConcurrentDictionary`2.get_Item(TKey key) +59
   BeCool.Core.EntityControl`3.GetOneFromCache(String key, Boolean& isExist, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.Cache.cs:85
   BeCool.Core.EntityControl`3.GetOne(Int32 id, String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\Core\EntityControl.GetOne.cs:28
   BeCool.AMS.CatalogControl.GetCurrent(String fieldsAndExtends) in E:\2016\二零一六\BeCool\BeCoolCMS3.2\DLL\AMS\c\CatalogControl.Get.cs:131
   ASP.templates_pc_include_sidebar_recommends_aspx.OnInit(EventArgs e) in d:\www_beiyi\beiyi2017\Templates\PC\include\sidebar_Recommends.aspx:26
   System.Web.UI.Control.InitRecursive(Control namingContainer) +392
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1638


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3163.0
δִнű: Http ״̬ = 500