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.
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