FIX: Error message when you run a parallel query in SQL Server 2008: "Trying to use the transaction while there are 1 parallel nested xacts outstanding"

Article translations Article translations
Article ID: 974766 - View products that this article applies to.
Microsoft distributes Microsoft SQL Server 2008 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release.
Expand all | Collapse all

On This Page

SYMPTOMS

In Microsoft SQL Server 2008, you run a parallel query and the execution fails. You receive the following error message:
Trying to use the transaction while there are 1 parallel nested xacts outstanding


When this problem occurs, a mini-dump file is generated in the SQL Server log folder, and the following error messages are logged in the SQL Server error log file:
<Date><Time> spid67 Error: 17065, Severity: 16, State: 1.
<Date><Time> spid67 SQL Server Assertion: File: <"xact.cpp">, line = 4253 Failed Assertion = '!m_parNestedXactCnt' Trying to use the transaction while there are 1 parallel nested xacts outstanding. This error may be timing-related. If the error persists after rerunning the statement, use DBCC CHECKDB to check the database for structural integrity, or restart the server to ensure in-memory data structures are not corrupted.
<Date><Time> spid67 Error: 3624, Severity: 20, State: 1.
<Date><Time> spid67 A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical Support.
<Date><Time> spid67 Using 'dbghelp.dll' version '4.0.5'
<Date><Time> spid67 **Dump thread - spid = 0, EC = 0x0000000F6F43C0F0
<Date><Time> spid67 ***Stack Dump being sent to F:\MSSQL\LOG\SQLDump0066.txt
<Date><Time> spid67 *
*******************************************************************************
<Date><Time> spid67 *
<Date><Time> spid67 * BEGIN STACK DUMP:
<Date><Time> spid67 * 11/21/08 20:00:12 spid <spid>
<Date><Time> spid67 *
<Date><Time> spid67 * Location: "xact.cpp":4362
<Date><Time> spid67 * Expression: !m_parNestedXactCnt
<Date><Time> spid67 * SPID: <spid>
<Date><Time> spid67 * Process ID: <ID>
<Date><Time> spid67 * Description: Trying to use the transaction while there are 1 parallel nested xacts outstanding

RESOLUTION

Cumulative update information

SQL Server 2008

Important You must use this fix if you are running the release version of SQL Server 2008.

The fix for this issue was first released in Cumulative Update 7. For more information about how to obtain this cumulative update package for SQL Server 2008, click the following article number to view the article in the Microsoft Knowledge Base:
973601 Cumulative update package 7 for SQL Server 2008
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. We recommend that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
956909 The SQL Server 2008 builds that were released after SQL Server 2008 was released

SQL Server 2008 Service Pack 1

The fix for this issue was first released in Cumulative Update 4 for SQL Server 2008 Service Pack 1. For more information about this cumulative update package, click the following article number to view the article in the Microsoft Knowledge Base:
973602 Cumulative update package 4 for SQL Server 2008 Service Pack 1
Note Because the builds are cumulative, each new fix release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2008 fix release. Microsoft recommends that you consider applying the most recent fix release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
970365 The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 1 was released
Microsoft SQL Server 2008 hotfixes are created for specific SQL Server service packs. You must apply a SQL Server 2008 Service Pack 1 hotfix to an installation of SQL Server 2008 Service Pack 1. By default, any hotfix that is provided in a SQL Server service pack is included in the next SQL Server service pack.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have SQL Server 2008 Service Pack 1 installed before you apply this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

32-bit version

SQL Server 2008 Database Services Core Shared
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Commanddest.dll2007.100.2728.0164,69629-Aug-200922:52x86
Datacollectorenumerators.dll2007.100.2728.069,46429-Aug-200922:55x86
Distrib.exe2007.100.2728.075,11229-Aug-200923:19x86
Dtspipeline.dll2007.100.2728.0694,12029-Aug-200923:21x86
Dtswizard.exe2007.100.2728.0804,71229-Aug-200923:21x86
Exceldest.dll2007.100.2728.0173,41629-Aug-200923:45x86
Excelsrc.dll2007.100.2728.0183,14429-Aug-200923:45x86
Flatfiledest.dll2007.100.2728.0276,31229-Aug-200923:48x86
Flatfilesrc.dll2007.100.2728.0283,99229-Aug-200923:48x86
Iftsph.dll2007.100.2728.038,23230-Aug-200900:12x86
Logread.exe2007.100.2728.0423,25630-Aug-200901:15x86
Microsoft.sqlserver.dmf.dll10.0.2728.0296,80830-Aug-200901:33x86
Microsoft.sqlserver.pipelinehost.dll10.0.2728.071,52830-Aug-200901:40x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Oledbdest.dll2007.100.2728.0173,91230-Aug-200902:09x86
Oledbsrc.dll2007.100.2728.0186,72830-Aug-200902:09x86
Rdistcom.dll2007.100.2728.0651,11230-Aug-200902:36x86
Repldp.dll2007.100.2728.0191,33630-Aug-200902:36x86
Replmerg.exe2007.100.2728.0341,35230-Aug-200902:36x86
Snapshot.exe10.0.2728.013,14430-Aug-200904:08x86
Sql_engine_core_shared_keyfile.dll2007.100.2728.013,65630-Aug-200900:54x86
Sqllogship.exe10.0.2728.096,08830-Aug-200904:11x86
Sqlmergx.dll2007.100.2728.0192,87230-Aug-200904:11x86
Sqltaskconnections.dll2007.100.2728.0113,51230-Aug-200904:15x86
Txdataconvert.dll2007.100.2728.0206,69630-Aug-200904:21x86
SQL Server 2008 Database Services Core Instance
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Databasemailengine.dll10.0.2728.075,60829-Aug-200922:55x86
Databasemailprotocols.dll10.0.2728.042,85629-Aug-200922:55x86
Instmsdb.sqlNot applicable1,674,84028-Aug-200921:16Not applicable
Mssqlsystemresource.ldfNot applicable524,28829-Aug-200905:03Not applicable
Mssqlsystemresource.mdfNot applicable63,307,77629-Aug-200905:03Not applicable
Sql_engine_core_inst_keyfile.dll2007.100.2728.013,65630-Aug-200900:54x86
Sqlaccess.dll2007.100.2728.0405,33630-Aug-200904:08x86
Sqlagent.exe2007.100.2728.0367,96030-Aug-200904:09x86
Sqlagent100_msdb_upgrade.sqlNot applicable1,788,96129-Aug-200902:06Not applicable
Sqlctr100.dll2007.100.2728.072,53630-Aug-200904:09x86
Sqlscriptdowngrade.dll2007.100.2728.014,69630-Aug-200904:12x86
Sqlscriptupgrade.dll2007.100.2728.03,378,02430-Aug-200904:12x86
Sqlservr.exe2007.100.2728.042,722,15230-Aug-200904:14x86
SQL Server 2008 Database Services Common Core
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.analysisservices.adomdclient.dll10.0.2728.0546,64830-Aug-200901:16x86
Microsoft.analysisservices.dll10.0.2728.01,316,69630-Aug-200901:17x86
Microsoft.analysisservices.xmla.dll10.0.2728.0227,17630-Aug-200901:19x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Msgprox.dll2007.100.2728.0202,08830-Aug-200901:45x86
Replprov.dll2007.100.2728.0575,33630-Aug-200902:36x86
Replrec.dll2007.100.2728.0789,84830-Aug-200902:37x86
Replsub.dll2007.100.2728.0410,98430-Aug-200902:37x86
Sql_common_core_keyfile.dll2007.100.2728.013,65630-Aug-200900:54x86
Xmlsub.dll2007.100.2728.0192,36030-Aug-200904:23x86

x64-based version

SQL Server 2008 Database Services Core Shared
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Commanddest.dll2007.100.2728.0247,12830-Aug-200908:13x64
Datacollectorenumerators.dll2007.100.2728.093,52830-Aug-200908:17x64
Distrib.exe2007.100.2728.086,88830-Aug-200908:27x64
Dtspipeline.dll2007.100.2728.01,086,82430-Aug-200908:27x64
Dtswizard.exe2007.100.2728.0800,60030-Aug-200908:27x64
Exceldest.dll2007.100.2728.0260,45630-Aug-200908:39x64
Excelsrc.dll2007.100.2728.0279,89630-Aug-200908:39x64
Flatfiledest.dll2007.100.2728.0414,55230-Aug-200908:41x64
Flatfilesrc.dll2007.100.2728.0424,80830-Aug-200908:41x64
Iftsph.dll2007.100.2728.054,61630-Aug-200908:52x64
Logread.exe2007.100.2728.0510,82430-Aug-200909:21x64
Microsoft.sqlserver.dmf.dll10.0.2728.0296,79230-Aug-200909:27x86
Microsoft.sqlserver.dmf.dll10.0.2728.0296,80830-Aug-200901:33x86
Microsoft.sqlserver.pipelinehost.dll10.0.2728.071,52830-Aug-200909:29x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Oledbdest.dll2007.100.2728.0259,92830-Aug-200909:58x64
Oledbsrc.dll2007.100.2728.0286,04030-Aug-200909:58x64
Rdistcom.dll2007.100.2728.0789,84830-Aug-200910:14x64
Repldp.dll2007.100.2728.0229,72030-Aug-200910:15x64
Repldp.dll2007.100.2728.0191,33630-Aug-200902:36x86
Replmerg.exe2007.100.2728.0408,40830-Aug-200910:15x64
Snapshot.exe10.0.2728.013,14430-Aug-200911:20x86
Snapshot.exe10.0.2728.013,14430-Aug-200904:08x86
Sql_engine_core_shared_keyfile.dll2007.100.2728.014,16830-Aug-200909:11x64
Sqllogship.exe10.0.2728.096,08830-Aug-200911:23x86
Sqlmergx.dll2007.100.2728.0229,22430-Aug-200911:23x64
Sqltaskconnections.dll2007.100.2728.0161,11230-Aug-200911:28x64
Txdataconvert.dll2007.100.2728.0306,02430-Aug-200911:33x64
SQL Server 2008 Database Services Core Instance
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Databasemailengine.dll10.0.2728.075,62430-Aug-200908:16x86
Databasemailprotocols.dll10.0.2728.042,84030-Aug-200908:16x86
Instmsdb.sqlNot applicable1,674,84028-Aug-200921:16Not applicable
Mssqlsystemresource.ldfNot applicable524,28829-Aug-200905:03Not applicable
Mssqlsystemresource.mdfNot applicable63,307,77629-Aug-200905:03Not applicable
Sql_engine_core_inst_keyfile.dll2007.100.2728.014,16830-Aug-200909:11x64
Sqlaccess.dll2007.100.2728.0411,99230-Aug-200911:21x86
Sqlagent.exe2007.100.2728.0428,88830-Aug-200911:21x64
Sqlagent100_msdb_upgrade.sqlNot applicable1,788,96129-Aug-200902:06Not applicable
Sqlctr100.dll2007.100.2728.0108,39230-Aug-200911:22x64
Sqlctr100.dll2007.100.2728.072,53630-Aug-200904:09x86
Sqlscriptdowngrade.dll2007.100.2728.015,70430-Aug-200911:24x64
Sqlscriptupgrade.dll2007.100.2728.03,377,49630-Aug-200911:25x64
Sqlservr.exe2007.100.2728.057,878,88830-Aug-200911:27x64
SQL Server 2008 Database Services Common Core
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.analysisservices.adomdclient.dll10.0.2728.0546,66430-Aug-200909:21x86
Microsoft.analysisservices.adomdclient.dll10.0.2728.0546,64830-Aug-200901:16x86
Microsoft.analysisservices.dll10.0.2728.01,316,69630-Aug-200901:17x86
Microsoft.analysisservices.xmla.dll10.0.2728.0227,17630-Aug-200909:21x86
Microsoft.analysisservices.xmla.dll10.0.2728.0227,17630-Aug-200901:19x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,22430-Aug-200909:31x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Msgprox.dll2007.100.2728.0246,10430-Aug-200909:33x64
Msgprox.dll2007.100.2728.0202,08830-Aug-200901:45x86
Replprov.dll2007.100.2728.0727,40030-Aug-200910:15x64
Replprov.dll2007.100.2728.0575,33630-Aug-200902:36x86
Replrec.dll2007.100.2728.0976,74430-Aug-200910:16x64
Replrec.dll2007.100.2728.0789,84830-Aug-200902:37x86
Replsub.dll2007.100.2728.0492,37630-Aug-200910:16x64
Replsub.dll2007.100.2728.0410,98430-Aug-200902:37x86
Sql_common_core_keyfile.dll2007.100.2728.014,16830-Aug-200909:11x64
Xmlsub.dll2007.100.2728.0308,07230-Aug-200911:36x64
Xmlsub.dll2007.100.2728.0192,36030-Aug-200904:23x86

Itanium-architecture version

SQL Server 2008 Database Services Core Shared
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Commanddest.dll2007.100.2728.0557,92830-Aug-200908:25ia64
Datacollectorenumerators.dll2007.100.2728.0190,29630-Aug-200908:28ia64
Distrib.exe2007.100.2728.0205,65630-Aug-200908:37ia64
Dtspipeline.dll2007.100.2728.02,020,71230-Aug-200908:38ia64
Dtswizard.exe2007.100.2728.0800,60030-Aug-200908:38ia64
Exceldest.dll2007.100.2728.0584,04030-Aug-200908:47ia64
Excelsrc.dll2007.100.2728.0641,89630-Aug-200908:47ia64
Flatfiledest.dll2007.100.2728.0951,12830-Aug-200908:49ia64
Flatfilesrc.dll2007.100.2728.0975,20830-Aug-200908:49ia64
Iftsph.dll2007.100.2728.088,40830-Aug-200909:00ia64
Logread.exe2007.100.2728.01,124,69630-Aug-200909:26ia64
Microsoft.sqlserver.dmf.dll10.0.2728.0296,79230-Aug-200909:32x86
Microsoft.sqlserver.dmf.dll10.0.2728.0296,80830-Aug-200901:33x86
Microsoft.sqlserver.pipelinehost.dll10.0.2728.071,51230-Aug-200909:33x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Oledbdest.dll2007.100.2728.0586,08830-Aug-200910:07ia64
Oledbsrc.dll2007.100.2728.0653,67230-Aug-200910:07ia64
Rdistcom.dll2007.100.2728.01,835,36830-Aug-200910:21ia64
Repldp.dll2007.100.2728.0522,58430-Aug-200910:22ia64
Repldp.dll2007.100.2728.0191,33630-Aug-200902:36x86
Replmerg.exe2007.100.2728.0969,57630-Aug-200910:22ia64
Snapshot.exe10.0.2728.013,14430-Aug-200911:25x86
Snapshot.exe10.0.2728.013,14430-Aug-200904:08x86
Sql_engine_core_shared_keyfile.dll2007.100.2728.019,28830-Aug-200909:17ia64
Sqllogship.exe10.0.2728.096,10430-Aug-200911:27x86
Sqlmergx.dll2007.100.2728.0428,37630-Aug-200911:27ia64
Sqltaskconnections.dll2007.100.2728.0335,72030-Aug-200911:35ia64
Txdataconvert.dll2007.100.2728.0674,66430-Aug-200911:40ia64
SQL Server 2008 Database Services Core Instance
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Databasemailengine.dll10.0.2728.075,60830-Aug-200908:28x86
Databasemailprotocols.dll10.0.2728.042,84030-Aug-200908:28x86
Instmsdb.sqlNot applicable1,674,84028-Aug-200921:16Not applicable
Mssqlsystemresource.ldfNot applicable524,28829-Aug-200905:03Not applicable
Mssqlsystemresource.mdfNot applicable63,307,77629-Aug-200905:03Not applicable
Sql_engine_core_inst_keyfile.dll2007.100.2728.019,28830-Aug-200909:17ia64
Sqlaccess.dll2007.100.2728.0398,68030-Aug-200911:25x86
Sqlagent.exe2007.100.2728.01,205,60830-Aug-200911:26ia64
Sqlagent100_msdb_upgrade.sqlNot applicable1,788,96129-Aug-200902:06Not applicable
Sqlctr100.dll2007.100.2728.0135,01630-Aug-200911:26ia64
Sqlctr100.dll2007.100.2728.072,53630-Aug-200904:09x86
Sqlscriptdowngrade.dll2007.100.2728.020,84030-Aug-200911:29ia64
Sqlscriptupgrade.dll2007.100.2728.03,383,65630-Aug-200911:29ia64
Sqlservr.exe2007.100.2728.0111,033,17630-Aug-200911:34ia64
SQL Server 2008 Database Services Common Core
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Microsoft.analysisservices.adomdclient.dll10.0.2728.0546,64830-Aug-200909:26x86
Microsoft.analysisservices.adomdclient.dll10.0.2728.0546,64830-Aug-200901:16x86
Microsoft.analysisservices.dll10.0.2728.01,316,69630-Aug-200901:17x86
Microsoft.analysisservices.xmla.dll10.0.2728.0227,16030-Aug-200909:26x86
Microsoft.analysisservices.xmla.dll10.0.2728.0227,17630-Aug-200901:19x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200909:35x86
Microsoft.sqlserver.sqlenum.dll10.0.2728.01,083,24030-Aug-200901:41x86
Msgprox.dll2007.100.2728.0534,37630-Aug-200909:36ia64
Msgprox.dll2007.100.2728.0202,08830-Aug-200901:45x86
Replprov.dll2007.100.2728.01,640,80830-Aug-200910:22ia64
Replprov.dll2007.100.2728.0575,33630-Aug-200902:36x86
Replrec.dll2007.100.2728.02,125,14430-Aug-200910:22ia64
Replrec.dll2007.100.2728.0789,84830-Aug-200902:37x86
Replsub.dll2007.100.2728.01,111,91230-Aug-200910:23ia64
Replsub.dll2007.100.2728.0410,98430-Aug-200902:37x86
Sql_common_core_keyfile.dll2007.100.2728.019,28830-Aug-200909:17ia64
Xmlsub.dll2007.100.2728.0558,93630-Aug-200911:42ia64
Xmlsub.dll2007.100.2728.0192,36030-Aug-200904:23x86

WORKAROUND

To work around this problem, set the maximum degree of parallelism (MAXDOP) query hint to 1 for the affected query.

Note This method may affect the query performance.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

REFERENCES

For more information about the Incremental Servicing Model for SQL Server, click the following article number to view the article in the Microsoft Knowledge Base:
935897 An Incremental Servicing Model is available from the SQL Server team to deliver hotfixes for reported problems


For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:
822499 New naming schema for Microsoft SQL Server software update packages


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 974766 - Last Review: November 24, 2009 - Revision: 2.0
APPLIES TO
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Workgroup
Keywords: 
kbsurveynew kbexpertiseadvanced kbqfe kbfix KB974766

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com