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.Array.Clear(Array array, Int32 index, Int32 length) +0
   System.Collections.Generic.List`1.Clear() +38
   System.Web.Mvc.ViewEngineCollection.ClearItems() +30
   DotNetNuke.Web.Mvc.MvcHttpModule.Init(HttpApplication context) +84
   System.Web.HttpApplication.InitModulesCommon() +195
   System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +1047
   System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +184
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +264


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