Ha ocurrido un error al procesar la solicitud

Por favor, reintente de nuevo la tarea que estaba ejecutando. Si el error persiste, póngase en contacto con el administrador de la aplicación.

Comillas.GuiasDocentes.Infraestructura.Excepciones.GuiaDocenteException : Ha ocurrido un error al procesar la solicitud
StackTrace:
Excepción Interna:
System.InvalidOperationException : Sequence contains no elements
StackTrace:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Dapper.SqlMapper.ThrowZeroRows(Row row) in /_/Dapper/SqlMapper.cs:line 1285 at Dapper.SqlMapper.<QueryRowAsync>d__34`1.MoveNext() in /_/Dapper/SqlMapper.Async.cs:line 503 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Comillas.GuiasDocentes.Datos.Repositorios.RepositorioCurso.<ObtenerAsignaturaSinGuiaAsync>d__16.MoveNext() in D:\proyectos\GuiasDocentes\03_Desarrollo\Comillas.GuiasDocentes.Datos\Repositorios\RepositorioCurso.cs:line 227 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Comillas.GuiasDocentes.Web.Controllers.PublicoController.<ObtenerAsignaturaAsync>d__12.MoveNext() in D:\proyectos\GuiasDocentes\03_Desarrollo\Comillas.GuiasDocentes.Web\Controllers\PublicoController.cs:line 250 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Comillas.GuiasDocentes.Web.Controllers.PublicoController.<Repositorio>d__6.MoveNext() in D:\proyectos\GuiasDocentes\03_Desarrollo\Comillas.GuiasDocentes.Web\Controllers\PublicoController.cs:line 89 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass8_0.<BeginInvokeAsynchronousActionMethod>b__1(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_0.<InvokeActionMethodFilterAsynchronouslyRecursive>b__0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass11_2.<InvokeActionMethodFilterAsynchronouslyRecursive>b__2() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass7_0.<BeginInvokeActionMethodWithFilters>b__1(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_5.<BeginInvokeAction>b__4() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass3_0.<BeginInvokeAction>b__1(IAsyncResult asyncResult)