<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>distributed transaction &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/distributed-transaction/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Sun, 25 Sep 2016 20:28:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>SQL Server: How to configure and enable Microsoft Distributed Transaction Coordinator (MSDTC)?</title>
		<link>https://www.dbrnd.com/2016/11/sql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator/</link>
					<comments>https://www.dbrnd.com/2016/11/sql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator/#comments</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Fri, 11 Nov 2016 16:16:39 +0000</pubDate>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[distributed transaction]]></category>
		<category><![CDATA[linked server]]></category>
		<category><![CDATA[msdtc]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Server Administrator]]></category>
		<category><![CDATA[SQL Server Monitoring]]></category>
		<category><![CDATA[SQL Server Performance Tunning]]></category>
		<category><![CDATA[SQL Server Tips and Tricks]]></category>
		<category><![CDATA[TSQL]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=3438</guid>

					<description><![CDATA[The Microsoft Distributed Transaction Coordinator mostly use for distributed transactions. A Distributed Transaction is a very simple transaction which executes between two or more servers. For example, We started one transaction in Server one and same transaction is going to finish in Server two. In this kind of situation, we require MSDTC enabled in SQL [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&amp;linkname=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F11%2Fsql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator%2F&#038;title=SQL%20Server%3A%20How%20to%20configure%20and%20enable%20Microsoft%20Distributed%20Transaction%20Coordinator%20%28MSDTC%29%3F" data-a2a-url="https://www.dbrnd.com/2016/11/sql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator/" data-a2a-title="SQL Server: How to configure and enable Microsoft Distributed Transaction Coordinator (MSDTC)?"></a></p><p>The Microsoft Distributed Transaction Coordinator mostly use for distributed transactions. </p>
<blockquote><p>A Distributed Transaction is a very simple transaction which executes between two or more servers.<br />
For example, We started one transaction in Server one and same transaction is going to finish in Server two. </p></blockquote>
<p>In this kind of situation, we require MSDTC enabled in SQL Server.<br />
To enable distributed transactions across different servers, you need to configure MSDTC on both the servers.</p>
<p><strong>The following is a list you need to check:</strong></p>
<p><strong>1. DTC service is running:</strong></p>
<blockquote><p>Please run &#8220;services.msc&#8221; from windows run dialog to check if it is running.<br />
If it is stopped, please start it by right-clicking on it and choose &#8220;Start&#8221;.</p></blockquote>
<p><strong>2. Network DTC access is enabled:</strong></p>
<blockquote><p>Please open Distributed Transaction Coordinator using Control Panel -> Administrator Tools -> Component Services.<br />
Right click on LocalDTC and make sure that Network DTC should be enabled. </p></blockquote>
<p><strong>3. DTC service is configured to be allowed to access network in firewall in the linking server: </strong></p>
<blockquote><p>Please make sure this service could access the network and could receive connection from other server. </p></blockquote>
<p><strong>4. XACT_ABORT is enabled:</strong></p>
<blockquote><p>We could enable XACT_ABORT with the following statement:</p>
<pre class="crayon-plain-tag">SET XACT_ABORT ON</pre>
</p></blockquote>
<p><strong>5. Please execute the status of &#8220;Ad Hoc Distributed Queries&#8221;:</strong><br />
&#8220;Ad Hoc Distributed Queries&#8221; should enabled</p>
<pre class="crayon-plain-tag">sp_configure 'show advanced options', 1
reconfigure
GO
sp_configure 'Ad Hoc Distributed Queries'</pre> </p>
<p><strong>If the value under run_value is 0, please execute the following script to enable it:</strong></p>
<pre class="crayon-plain-tag">sp_configure 'show advanced options', 1
reconfigure
GO
sp_configure 'Ad Hoc Distributed Queries', 1
reconfigure</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2016/11/sql-server-how-to-configure-and-enable-msdtc-microsoft-distributed-transaction-coordinator/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
