Click here to Skip to main content
12,820,712 members (32,865 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# .NET SQL-Server , +
Hi All,

In my .NET application(Windows Application) I get exception SqlTransaction.ZombieCheck. I'm new to the application where I get this exception. Technically in general in which scenario the exception would be thrown? How to resolve the error? If you come across this exception please do share your points with me. Thanks in advance.
Posted 10-Dec-12 3:24am
Updated 10-Dec-12 3:49am
RyanDev238.8K
v2

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi

It happens when you try to operate in a transaction which has already been committed or rolled back. The scenario could be observed when the inherent connection that the transaction is using is closed and then you try to commit or rollback the transaction.

You may wanna check this blog here 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[^]

Regards
Pawan
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 10 Sep 2015
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100