FIX: An error may occur when you start a new transaction in ADO.NET 2.0 on a connection that is open to a SQL Server 2005 database (912732)
The information in this article applies to:
- Microsoft .NET Framework 2.0
SYMPTOMSAn error may occur in a Microsoft ADO.NET 2.0 application because of the following sequence of events: - You open a connection and start a Transact-SQL transaction by using the "System.Data.SqlClient" namespace.
- You close the connection without completing the Transact-SQL transaction.
- You request another connection and receive the previous connection from the connection pool.
- You start a new transaction by using the SqlConnection.BeginTransaction method.
You may receive the following error message: This SqlTransaction has completed; it is no longer usable.
at System.Data.SqlClient.SqlTransaction.ZombieCheck()
at System.Data.SqlClient.SqlTransaction.get_IsolationLevel()
at TestRepro.Program.Main(String[] args)
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Modification Type: | Major | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbBug kbfix kbQFE kbpubtypekc KB912732 kbAudDeveloper kbAudITPRO |
---|
|