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 26:                 bolid = Replace(Page.RouteData.Values("BolID"), " ", "+")
Line 27:             Else
Line 28:                 bolid = ids(2)
Line 29:                 subtitel = "<h3>" & Replace(Page.RouteData.Values("SubSubCategorie"), "-", " ") & "</h3>"
Line 30:             End If

Source File: C:\RootWebstites\TinamicsCMS\ReceptenEnZo\Shops\Categorie.aspx.vb    Line: 28

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   Shops_Categorie.Page_Load(Object sender, EventArgs e) in C:\RootWebstites\TinamicsCMS\ReceptenEnZo\Shops\Categorie.aspx.vb:28
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   TinamicsBaseClass.OnLoad(EventArgs e) in C:\RootWebstites\TinamicsCMS\ReceptenEnZo\App_Code\TinamicsBaseclass.vb:46
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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