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 1284:        Public Default ReadOnly Property Item(ByVal index As Integer) As GATEWAY_TENANTRow
Line 1285:            Get
Line 1286:                Return CType(Me.Rows(index),GATEWAY_TENANTRow)
Line 1287:            End Get
Line 1288:        End Property

Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4cd6f6fa\6fff6db6\App_Code.u9pmfldp.4.vb    Line: 1286

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +115
   System.Data.RBTree`1.get_Item(Int32 index) +20
   System.Data.DataRowCollection.get_Item(Int32 index) +12
   GATEWAY_TENANTDataTable.get_Item(Int32 index) in C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4cd6f6fa\6fff6db6\App_Code.u9pmfldp.4.vb:1286
   _Store.Page_Load(Object sender, EventArgs e) in C:\Domains\gateway3\gatewayklia2.com.my\wwwroot\ch\directory\store.aspx.vb:17
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2602


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975