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 857:        catch (Exception ex)
Line 858:        {
Line 859:            throw ex;
Line 860:        }
Line 861:        arSb[0] = sb.ToString();

Source File: d:\website\Desktop-websites\nari-2018\App_Code\CommonFunction.cs    Line: 859

Stack Trace:


[KeyNotFoundException: The given key was not present in the dictionary.]
   CommonFunction.get_tag_data1(String tag_txt, Int32 tot_news, Int32 page_no, Int32 slider_html) in d:\website\Desktop-websites\nari-2018\App_Code\CommonFunction.cs:859
   _Default.Page_Load(Object sender, EventArgs e) in d:\website\Desktop-websites\nari-2018\tag.aspx.cs:47
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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