Answer by John Zabroski for Cannot continue the execution because the session...
I can reproduce this issue in a fairly small C# program that uses Asynchronous Connections, but I am not sure 100% why. Here is my repro program in case others want to give it a try - I suspect there...
View ArticleAnswer by cbailiss for Cannot continue the execution because the session is...
Just a pointer re: SQL Server 2017 (where I was hitting this error) and some versions of 2016 to potentially save others some time: Before SQL Server 2017 CU8 (also 2016 SP1 CU9 and 2016 SP2 CU1),...
View ArticleAnswer by HansLindgren for Cannot continue the execution because the session...
I always get this error when I have a running query, using an Always On AG Listener, using one of the AG databases and there is a failover:.Net SqlClient Data Provider: Msg 596, Level 21, State 1, Line...
View ArticleAnswer by Kangeles for Cannot continue the execution because the session is...
In a database configured for Always On Availability Groups, you may also encounter this behavior if the Availability Group is in SYNCHRONOUS mode and secondaries have gone offline or are suspended....
View ArticleAnswer by PseudoToad for Cannot continue the execution because the session is...
Something I've unwittingly found: When you are disabling / rebuilding indexes on an indexed view, you will get this same error if you try to rebuild one ore more of the non-clustered indexes prior to...
View ArticleAnswer by MarmiK for Cannot continue the execution because the session is in...
This can be caused by Corruption of Index,The Best way to manage this is Drop the Old Index which is corrupt.DROP INDEX dbo.CO_DES_INPUT.IX_CO_DES_INPUT And than Run the query in questions, it should...
View ArticleCannot continue the execution because the session is in the kill state. while...
I get the following error while trying to create a clustered indexThe statement has been terminated.Msg 596, Level 21, State 1, Line 0Cannot continue the execution because the session is in the kill...
View ArticleAnswer by R.M. Buda for Cannot continue the execution because the session is...
Relating to John Zabroski's post. I found this error is 100% reproduceable when I use EXECUTE AS USER in conjunction with connection pooling.The error occurs after pooling tries to reset the connection...
View Article
More Pages to Explore .....