Server Error in '/Ex' 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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2443454
   System.Data.DataRowCollection.get_Item(Int32 index) +21
   Promo.Data.Exchange.SitesDataTable.get_Item(Int32 index) in D:\Projects\Promo\PromoFinal\Promo.Data\Exchange\SitesData.Designer.cs:468
   _Default.OnInit(EventArgs e) +573
   System.Web.UI.Control.InitRecursive(Control namingContainer) +133
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1954


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