DataReader is closed. #256

Closed
mSkal opened this Issue Jan 17, 2013 · 0 comments

Comments

Projects
None yet
2 participants

mSkal commented Jan 17, 2013

Hi, I had a problem. I do not know why it happens. I get exception from method MoveNext on Simple.Data.Ado.DataReaderEnumerable, "Invalid attempt to call Read when reader is closed". I found in this method that there is only check on _reader null reference. Adding "|| _reader.IsClosed" helped me. Please check this and consider my change.
Code is running under IIS as a web site, issue was not necessitarian.

Cheers,
Michal

markrendle was assigned Jan 23, 2013

@markrendle markrendle added a commit that referenced this issue May 21, 2013

@markrendle markrendle Fixes issue #256 20dc705

markrendle closed this May 21, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment