Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

There is already an open DataReader associated with this Connection which must be closed first. (no replies)

$
0
0
MySql.Data.dll 8.0.26 on mono, Ubuntu.
I use pool. When I close connection and after several milliseconds open connection anew that sometimes I get Exception:

"There is already an open DataReader associated with this Connection which must be closed first".

But I don't use DataReader. I use MySqlDataAdapter and call Dispose instance of it every time after executed sql. Also after executed sql I call Dispose for Command instance.

I don't understand where was created DataReader instance.
And note that this problem is missing in MySql.Data.dll 6.10.9 version

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>