Server Error in '/' Application.

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

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.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Source Error:


Line 67:             SubSeriesList.DataSource = dropMenuItemsOne;
Line 68:             SubSeriesList.DataBind();
Line 69:             SubSeriesList.Items[selectedSubSeries].Selected = true;
Line 70:         }
Line 71: 

Source File: d:\hosted_sites\www.racingone2.com\ss_standings.aspx.cs    Line: 69

Stack Trace:


[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
   System.Collections.ArrayList.get_Item(Int32 index) +2748189
   System.Web.UI.WebControls.ListItemCollection.get_Item(Int32 index) +9
   ss_standings.Page_Load(Object sender, EventArgs e) in d:\hosted_sites\www.racingone2.com\ss_standings.aspx.cs:69
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


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