'Invalid attempt to read when no data is present' - exception happens "sometimes" in Entity Framewo
Posted
by Saravanan
on Stack Overflow
See other posts from Stack Overflow
or by Saravanan
Published on 2010-04-02T17:47:30Z
Indexed on
2010/04/02
17:53 UTC
Read the original article
Hit count: 568
I get the above error sometimes during the read. The exception originates from ASP.NET SqlDataReader whenever you try to read data before calling the Read() method. Since EF does all these internally, I am wondering what else can cause this error. could it be network (or) db connectivity?
thanks
© Stack Overflow or respective owner