Tomorrow's Horse Racing (Tuesday)

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:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:


   
       
   



Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:

[IndexOutOfRangeException: Index was outside the bounds of the array.] System.Data.SqlClient.SqlDataReader.ReadColumn(Int32 i, Boolean setTimeout) +2385928 System.Data.SqlClient.SqlDataReader.GetString(Int32 i) +22 com.betgenius.OddsComparison.Presentation.DAO.DAOCompetitor.GetTrainer(IDataRecord reader) in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\DAO\DAOCompetitor.cs:426 com.betgenius.OddsComparison.Presentation.DAO.DAOCompetitor.GetHorseEventCompetitor(IDataRecord reader, IHorseCompetitor competitor) in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\DAO\DAOCompetitor.cs:397 com.betgenius.OddsComparison.Presentation.DAO.DAOCompetitor.GetHorseEventCompetitor(Int32 eventCompetitorId, IHorseCompetitor competitor) in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\DAO\DAOCompetitor.cs:290 com.betgenius.OddsComparison.Presentation.DAO.DAOCompetitor.GetHorseEventCompetitor(Int32 eventCompetitorId) in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\DAO\DAOCompetitor.cs:271 com.betgenius.OddsComparison.Presentation.Model.ProxyHorseEventCompetitor.RealHEC() in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\Model\ProxyHorseEventCompetitor.cs:131 com.betgenius.OddsComparison.Presentation.Model.ProxyHorseEventCompetitor.get_HasResult() in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Presentation\Model\ProxyHorseEventCompetitor.cs:120 com.betgenius.OddsComparison.Model.Content.<>c.b__66_0(IHorseEventCompetitor c) in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Model\Content\HorseRace.cs:129 System.Linq.Enumerable.Count(IEnumerable`1 source, Func`2 predicate) +177 com.betgenius.OddsComparison.Model.Content.HorseRace.get_HasResults() in C:\Users\pablo\IdeaProjects\DotNet\BestBetting\Source\App\com.betgenius.OddsComparison.Model\Content\HorseRace.cs:129 ASP.defaultusercontrols_pagefragments_horseracing_courseracecard_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +1125 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 ASP.defaultusercontrols_pagefragments_horseracing_multiracecardframe_ascx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +1804 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 ASP.customusercontrols_com_bestbetting_365odds_default_master.__Render__control1(HtmlTextWriter __w, Control parameterContainer) +1226 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +240 System.Web.UI.Page.Render(HtmlTextWriter writer) +38 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4240


Version Information: Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618

©2019 Copyright Ratz4Racing