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 41: Line 42: If catid = 0 And pageid > 0 Then Line 43: catid = pageDT.Select("Page_ID=" & pageid)(0)("Page_Parent_Category") Line 44: End If Line 45:

Source File: d:\domains\sdeorgil\sde.org.il\wwwroot\MasterPage.master.vb    Line: 43

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.] MasterPage.Page_Init(Object sender, EventArgs e) in d:\domains\sdeorgil\sde.org.il\wwwroot\MasterPage.master.vb:43 System.Web.UI.Control.OnInit(EventArgs e) +99 System.Web.UI.UserControl.OnInit(EventArgs e) +77 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Version Information: Microsoft .NET Framework Version:2.0.50727.8966; ASP.NET Version:2.0.50727.8962