System.InvalidOperationException: Invalid operation. The connection is closed.
at System.Data.ProviderBase.DbConnectionClosed.CreateReferenceCollection()
at System.Data.ProviderBase.DbConnectionInternal.AddWeakReference(Object value, Int32 tag)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at CamaraDuarte.Conexion.Buscar(String query) in C:\Users\JULIO\source\repos\CamaraDuarte\CamaraDuarte\App_Data\Conexion.cs:line 90
at CamaraDuarte._EventoService.GetById(Int32 _id) in C:\Users\JULIO\source\repos\CamaraDuarte\CamaraDuarte\App_Data\Service\_EventoService.cs:line 83
at CamaraDuarte.FormDetalleEvento.GetEvento(String IdEvento) in C:\Users\JULIO\source\repos\CamaraDuarte\CamaraDuarte\FormDetalleEvento.aspx.cs:line 47