DataReader

  • 30 November 2007
  • 8 replies
  • 3 views

Badge

We received a bunch of messages in the K2 server log saying:


"2516","2007-11-30 07:08:27","Error","General","4129","DBException","SqlConnection* K2Sql::RollbackTransaction","4129 A database error occured : There is already an open DataReader associated with this Command which must be closed first.    at System.Data.SqlClient.SqlInternalConnectionTds.ValidateConnectionForExecute(SqlCommand command)
   at System.Data.SqlClient.SqlInternalTransaction.Rollback()
   at System.Data.SqlClient.SqlTransaction.Rollback()
   at K2Sql.RollbackTransaction(SqlTransaction st)","4a29419ab19c405cabd26885650bfa3f",""


 Any idea what this might mean?


8 replies

Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


You

Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


You

have
Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


Your

Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


Your

program
Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


Your program

Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


Your program

has
Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".


Your program  

Badge +7

For DataReader, if you called Commmand.executeReader() in the same command without execute dataReader.Close() first, you will get that error message, "There is already an open DataReader associated with this Command which must be closed first.".

Reply