This kind of error page, I presume :
Server Error in '/' Application.
Index was outside the bounds of the array.
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 was outside the bounds of the array.
Source Error:
Line 275: youthScout.UpdateYouthscoutHasSearched(currentTeam.Id, 1);
Line 276:
Line 277: cyclist_id = youthScout.SearchCyclist();
Line 278: if (cyclist_id != 0)
Line 279: {
Source File: c:\HostingSpaces\peloton\peloton-test.com\wwwroot\youthscout.aspx.cs Line: 277
Stack Trace:
[IndexOutOfRangeException: Index was outside the bounds of the array.]
Peloton_Classes.Cyclist.InsertCyclist(Int32 team_id, Random& random, String country, Int32 ability_current, Int32 scout_steering_balance, Int32 scout_perception, Int32 scout_current_ability) +6957
Peloton_Classes.YouthScout.SearchCyclist() +256
youthscout.btnSearch_Click(Object sender, EventArgs e) in c:\HostingSpaces\peloton\peloton-test.com\wwwroot\youthscout.aspx.cs:277
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565