Error

There has been a problem, sorry! It may help to try again. Use the back button to go back to where you were.

Details:

System.InvalidOperationException: Sequence contains no elements at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult) at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries) at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query) at System.Data.Linq.Table`1.System.Linq.IQueryProvider.Execute[TResult](Expression expression) at SquashResults.Public.CompetitionTeamCalendarPage.get_Team() in C:\Users\Ian\Documents\Projects\Squash\Leicestershire2024\Core\Public\CompetitionTeamCalendar.aspx.cs:line 23 at SquashResults.Public.CompetitionTeamCalendarPage.OnPreRender(EventArgs e) in C:\Users\Ian\Documents\Projects\Squash\Leicestershire2024\Core\Public\CompetitionTeamCalendar.aspx.cs:line 47 at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)