Open luyangdev opened 3 years ago
Hi @luyangdev, apologies for the slow response. How long do you wait after restarting SQL Server before retrying?
Hello @ReubenBond, thank you for reply. I used windows services.msc to restart sql server. I just waited for the starting progress bar going to the end and the SqlServer service "Status" shows "running" again, and then I retried.
@luyangdev have you tried to configure the ADO.NET connection retry settings via the connection string? See this article which has an example of how to do so using the connection string builder: https://docs.microsoft.com/en-us/sql/connect/ado-net/step-4-connect-resiliently-sql-ado-net?view=sql-server-ver15
@ReubenBond I just added connection retry settings to connection string, but still got the same error.
"Data Source=localhost;Initial Catalog=TestOrleansDb;uid=testorleans;pwd=testorleans;ConnectRetryCount=10;ConnectRetryInterval=3;";
I'm not sure what should happen in this scenario. I would expect ADO.NET to be responsible for connection management. It sounds like an issue there. If not, what should Orleans do in this situation?
We've moved this issue to the Backlog. This means that it is not going to be worked on for the coming release. We review items in the backlog at the end of each milestone/release and depending on the team's priority we may reconsider this issue for the following milestone.
Hello, I got TransactionAbortedException after restarting sql server. SqlServer connection does not restore.
Reproduce: github_repo In the Step 3 below, I expect sql server connection to be restored and no exception to be thrown, however, the above exception still happened.
Could you please help on this? Thank you so much.