Server Error in '/' Application.

There is no row at position 0.

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 0.

Source Error:


Line 42: 		
Line 43: 		Dim dv2 As System.Data.DataView = DirectCast(srcFeaturedNav.[Select](DataSourceSelectArguments.Empty), System.Data.DataView)
Line 44: 		varFeaturedCurrent = dv2.Table.Rows(0)("Number").ToString()
Line 45: 		
Line 46: 		

Source File: C:\inetpub\wwwroot\stories-main-featured.aspx    Line: 44

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2325221
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   ASP.stories_main_featured_aspx.Page_Load() in C:\inetpub\wwwroot\stories-main-featured.aspx:44
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3811


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