Server Error in '/' Application.

Index was outside the bounds of the array.

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.IndexOutOfRangeException: Index was outside the bounds of the array.

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:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   System.Collections.Generic.List`1.get_Item(Int32 index) +14638681
   cboCMS.Core.Cache.JsonCached.Get(Func`2 where, Func`1 noCache, Boolean saveNoCache) +220

[Exception: JsonCached.Get[ConfigEnt] Index was outside the bounds of the array.]
   cboCMS.Core.Cache.JsonCached.Get(Func`2 where, Func`1 noCache, Boolean saveNoCache) +2260
   cboCMS.Core.Business.ConfigBLL.GetByName(String ConfigName) +202

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +128
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +142
   System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +34
   cboCMS.Web.CWeb._Base.InvokeData(Object invoker, MethodBase method, Object[] _params) +70
   cboCMS.Web.CWeb.View.Page_Load(Object sender, EventArgs e) +3728
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Control.LoadRecursive() +162
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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