Server Error in '/' Application.

There is no row at position 11.

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: There is no row at position 11.

Source Error:


Line 80:                 base.Render(htmlwriter);
Line 81: 
Line 82:                 string html = htmlwriter.InnerWriter.ToString();
Line 83: 
Line 84:                 if (true || !PanelPage)

Source File: C:\Projects\HeadTopics\HeadTopics\BasePage.cs    Line: 82

Stack Trace:


[IndexOutOfRangeException: There is no row at position 11.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2519522
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   ASP.default_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +26362
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +276
   HeadTopics.BasePage.Render(HtmlTextWriter writer) in C:\Projects\HeadTopics\HeadTopics\BasePage.cs:82
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4239


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