EF recovery from invalidoperationexception caused by server being down
Posted
by Jonn
on Stack Overflow
See other posts from Stack Overflow
or by Jonn
Published on 2010-05-19T06:05:39Z
Indexed on
2010/05/19
6:10 UTC
Read the original article
Hit count: 241
entity-framework
I had a windows service relying on EF, and it was running fine until the server went down. The problem was after the server went up again, it didn't fix itself and still threw the error:
INTERNAL ERROR: Execution of the command requires an open and available connection. The connection's current state is broken.
Not being very proficient in EF I'm not aware of how I could recover from such a scenario, and why it occurred in the first place? Anyone had this happen before?
© Stack Overflow or respective owner