System.Data.EntityException: The underlying provider failed on Commit

后端 未结 2 557
长发绾君心
长发绾君心 2021-01-01 14:42

Using Entity Framework, I received a number of the following exceptions last night in one of my applications:

System.Data.EntityException: The underlying pro         


        
2条回答
  •  清酒与你
    2021-01-01 15:14

    My bet is that the success response from the transaction commit command was not sent (or not sent fast enough) causing an exception in your code. A kinda crazy edge case. Exceptions of this kind dont necessarily mean that the actual execution of the command failed just that there was A failure.

    In the same way if there was a problem sending the response from a webservice call it wouldn't necessarily imply that any side effects of that call were not applied.

提交回复
热议问题