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 3646:            End If
Line 3647:        Else
Line 3648:            If Not IsDBNull(dv(0)("p_locale_id")) Then
Line 3649:                p_locale_id = dv(0)("p_locale_id")
Line 3650:            End If

Source File: C:\inetpub\wwwroot\datapacket.net\person.aspx.vb    Line: 3648

Stack Trace:


[IndexOutOfRangeException: Index 0 is either negative or above rows count.]
   System.Data.DataView.GetRow(Int32 index) +2209912
   System.Data.DataView.get_Item(Int32 recordIndex) +17
   person.Get_locale_id() in C:\inetpub\wwwroot\datapacket.net\person.aspx.vb:3648
   person.FormViewPersonSummary_PreRender(Object sender, EventArgs e) in C:\inetpub\wwwroot\datapacket.net\person.aspx.vb:3285
   System.Web.UI.Control.OnPreRender(EventArgs e) +11728868
   System.Web.UI.Control.PreRenderRecursiveInternal() +132
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Control.PreRenderRecursiveInternal() +227
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3671


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