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:


Line 49: 
Line 50:         var language = splitUrl[1];
Line 51:         var pageName = splitUrl[2];
Line 52: 
Line 53:         var page = db.Page

Source File: d:\websites\f652df0ff3\www\App_Code\WebContentLoader.cs    Line: 51

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   WebContentLoader.Load(String rawUrl) in d:\websites\f652df0ff3\www\App_Code\WebContentLoader.cs:51
   Masterpages_MasterPageFrontEnd.Page_Load(Object sender, EventArgs e) in d:\websites\f652df0ff3\www\MasterPages\MasterPageFrontEnd.master.cs:23
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +85
   System.Web.UI.Control.OnLoad(EventArgs e) +79
   System.Web.UI.Control.LoadRecursive() +130
   System.Web.UI.Control.LoadRecursive() +200
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2853


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