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 254:                VigneteLinks &="<li class=""inactive"">" & MyView(0)("MainVignetteName") & "</li>"
Line 255:            else
Line 256:                VigneteLinks ="<li class=""selected""><span style=""float:left"">" & MyView(0)("MainVignetteName") & "</strong>" & "</span><a href="""& getquerystring("vgn","0") &"""><img src=""/images/x.png"" width=""15"" height=""15"" border=""0"" alt=""Καθαρισμός φίλτρου"" /></a></li>"
Line 257:            end if
Line 258:            pagetitle &=  MyView(0)("MainVignetteName") & " - "

Source File: C:\inetpub\wwwroot\athinoramaclub\UserControls\Club\Kentra.ascx    Line: 256

Stack Trace:


[IndexOutOfRangeException: Index 0 is either negative or above rows count.]
   System.Data.DataView.GetRow(Int32 index) +6267951
   System.Data.DataView.get_Item(Int32 recordIndex) +16
   ASP.Kentra_filters_club.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\athinoramaclub\UserControls\Club\Kentra.ascx:256
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8813