Server Error in '/' Application.

The given key was not present in the dictionary.

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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.

Source Error:


Line 53:           
Line 54: 
Line 55:             if (dicnews["MenuNo"]== "a9209fa19f874eaf99bdb2866d161c87")
Line 56:             {
Line 57:                 LMName = "通知公告";

Source File: d:\CICC2021\website\news\detail\Default.aspx.cs    Line: 55

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +12689951
   news_detail_Default.BindData() in d:\CICC2021\website\news\detail\Default.aspx.cs:55
   news_detail_Default.Page_Load(Object sender, EventArgs e) in d:\CICC2021\website\news\detail\Default.aspx.cs:36
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


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