المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Zombie check on Transaction - How to reproduce it?



C# Programming
01-08-2013, 05:33 PM
I get SqlTransaction.Zombie exception in production(In .NET Windows application not ASP.NET application). I got answer in below article how and when the exception is thrown. In production one server application available which perform DB operation and there could be more than one client applications to interact with server.

http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/08/24/zombie-check-on-transaction-error-this-sqltransaction-has-completed-it-is-no-longer-usable.aspx

In the article, it is given that connection is explicitly closed. My question is in real world application what are the possibilities to close the connection (in few cases only it occurs in production)? I would like to hear the possible scenarios to reproduce it.

One of the servers is getting stopped due to the Exception. Please do help.

Is there possibility for SPs to close the connection unexpectedly? If so, please do describe. Thanks in advance.