Competition 'Stage' property cannot be used on multi-stage events.

Server Error in '/' Application.

Competition 'Stage' property cannot be used on multi-stage events.

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.InvalidOperationException: Competition 'Stage' property cannot be used on multi-stage events.

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:


[InvalidOperationException: Competition 'Stage' property cannot be used on multi-stage events.]
   NHibernate.Proxy.DefaultLazyInitializer.Intercept(InvocationInfo info) +203
   CompetitionProxy.get_Stage() +343
   Com.BinaryBracket.BowlsResults.Business.Retrieval.Queries.TeamMatchesQuery.Load(Int32 competitionHeaderID, Nullable`1 season, Boolean includeGames) in C:\BinaryBracket\development\bowlsresults\Platform\Source\OriginalBusiness\Retrieval\Queries\TeamMatchesQuery.cs:61
   Com.BinaryBracket.BowlsResults.Business.Retrieval.Queries.TeamMatchesQuery.GetMatchDates(Int32 competitionHeaderID, Nullable`1 season, Nullable`1 teamID, Boolean includeGames) in C:\BinaryBracket\development\bowlsresults\Platform\Source\OriginalBusiness\Retrieval\Queries\TeamMatchesQuery.cs:35
   Com.BinaryBracket.BowlsResults.Business.Retrieval.RetrievalManager.GetCompetitionTeamMatches(Int32 competitionHeaderID, Nullable`1 season, Nullable`1 teamID, Boolean includeGames) in C:\BinaryBracket\development\bowlsresults\Platform\Source\OriginalBusiness\Retrieval\RetrievalManager.cs:247
   Com.BinaryBracket.BowlsResults.Business.Retrieval.Actions.KnockoutTeamSummaryAction.Execute(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\development\bowlsresults\Platform\Source\OriginalBusiness\Retrieval\Actions\KnockoutTeamSummaryAction.cs:27
   Com.BinaryBracket.BowlsResults.Business.Retrieval.RetrievalManager.GetKnockoutTeamSummary(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\development\bowlsresults\Platform\Source\OriginalBusiness\Retrieval\RetrievalManager.cs:346
   Com.BinaryBracket.BowlsResults.Web.RetrievalService.Statistics.PageServlets.StatisticsPageServlet.GetKnockoutTeamSummary(Int16 knockoutID, Int32 teamID) in C:\BinaryBracket\development\bowlsresults\Web\Source\RetrievalService\Statistics\PageServlets\StatisticsPageServlet.cs:103

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
   Com.BinaryBracket.Servlets.ServletHandler.InvokeServletMethod() in C:\BinaryBracket\development\core\Source\Servlets\ServletHandler.cs:346
   Com.BinaryBracket.Servlets.ServletHandler.GetServletMethodResponseXml() in C:\BinaryBracket\development\core\Source\Servlets\ServletHandler.cs:468
   Com.BinaryBracket.Servlets.ServletHandler.ExecuteMethod() in C:\BinaryBracket\development\core\Source\Servlets\ServletHandler.cs:392
   Com.BinaryBracket.Servlets.ServletHandler.ExecuteRequest() in C:\BinaryBracket\development\core\Source\Servlets\ServletHandler.cs:109
   Com.BinaryBracket.Servlets.ServletHandler.ProcessRequest() in C:\BinaryBracket\development\core\Source\Servlets\ServletHandler.cs:93
   Com.BinaryBracket.Servlets.PageServletHandler.ProcessPageRequest(ServletContext context, String pageUri) in C:\BinaryBracket\development\core\Source\Servlets\PageServletHandler.cs:70
   Com.BinaryBracket.Servlets.PageServletHandler.ProcessRequest(HttpContext context) in C:\BinaryBracket\development\core\Source\Servlets\PageServletHandler.cs:56
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88


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