Server Error in '/' Application.

Index 0 is either negative or above rows count.

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 0 is either negative or above rows count.

Source Error:


Line 19:         Dim dv As Data.DataView
Line 20:         dv = CType(srcCHList_current.Select(DataSourceSelectArguments.Empty), Data.DataView)
Line 21:         Dim dr As Data.DataRowView = dv(0)
Line 22:         Dim issue_date As String = CStr(dr("ch_issued"))
Line 23:         Page.Header.Title = issue_date & " Issue of Chess Horizons Magazine from MACA"

Source File: G:\PleskVhosts\masschess.org\httpdocs\chess_horizons\chess_horizons_content.aspx.vb    Line: 21

Stack Trace:


[IndexOutOfRangeException: Index 0 is either negative or above rows count.]
   System.Data.DataView.GetRow(Int32 index) +4880755
   System.Data.DataView.get_Item(Int32 recordIndex) +12
   chess_horizons_chess_horizons_content.Page_Load(Object sender, EventArgs e) in G:\PleskVhosts\masschess.org\httpdocs\chess_horizons\chess_horizons_content.aspx.vb:21
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9061; ASP.NET Version:2.0.50727.9062