


 



<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://docwiki.cisco.com/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_'SQLOLEDB'_was_unable_to_begin_a_distributed_transaction&amp;feed=atom&amp;action=history</id>
		<title>Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_'SQLOLEDB'_was_unable_to_begin_a_distributed_transaction&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_%27SQLOLEDB%27_was_unable_to_begin_a_distributed_transaction&amp;action=history"/>
		<updated>2013-05-24T09:11:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_%27SQLOLEDB%27_was_unable_to_begin_a_distributed_transaction&amp;diff=29721&amp;oldid=prev</id>
		<title>Jayark: /* Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction */</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_%27SQLOLEDB%27_was_unable_to_begin_a_distributed_transaction&amp;diff=29721&amp;oldid=prev"/>
				<updated>2010-05-04T09:06:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider &amp;#39;SQLOLEDB&amp;#39; was unable to begin a distributed transaction&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 09:06, 4 May 2010&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;! '''Recommended Action'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;! '''Recommended Action'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/del&gt;Remove the second node from the cluster using Appadmin control center -&amp;gt; component activation page. Install fresh OS using disk in the second node and install CRS.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;| Remove the second node from the cluster using Appadmin control center -&amp;gt; component activation page. Install fresh OS using disk in the second node and install CRS.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;! '''Release'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;! '''Release'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jayark</name></author>	</entry>

	<entry>
		<id>http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_%27SQLOLEDB%27_was_unable_to_begin_a_distributed_transaction&amp;diff=29720&amp;oldid=prev</id>
		<title>Jayark: New page: == Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction ==  {...</title>
		<link rel="alternate" type="text/html" href="http://docwiki.cisco.com/w/index.php?title=Config_datastore_activation_failed.java.sql.SQLException:_The_operation_could_not_be_performed_because_the_OLE_DB_provider_%27SQLOLEDB%27_was_unable_to_begin_a_distributed_transaction&amp;diff=29720&amp;oldid=prev"/>
				<updated>2010-05-04T09:04:37Z</updated>
		
		<summary type="html">&lt;p&gt;New page: == Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider &amp;#39;SQLOLEDB&amp;#39; was unable to begin a distributed transaction ==  {...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Config datastore activation failed.java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! '''Problem Summary'''&lt;br /&gt;
| %MCVD-CVD-3-COMPONENT_SET_CDS_ERROR: Component ConfigDataLinker.setCds error: type=CRS Config Datastore, nodeId=2, Exception=com.cisco.database.util.DBException:&lt;br /&gt;
SyncConfigData; nested exception is:  java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction&lt;br /&gt;
&lt;br /&gt;
Getting the above mentioned error while activating config and historical datastore on the second node of the HA cluster.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! '''Error Message'''&lt;br /&gt;
| java.sql.SQLException: The operation could not be performed because the OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! '''Possible Cause'''&lt;br /&gt;
| Verify whether the host file has been updated and whether both nodes can ping each other using host name. Looks like the customer has used the same image of Windows for both nodes. You can confirm this by running MSDTCPing on both nodes. If that is the case then they have to reimage node 2 and install Windows from DVD.&lt;br /&gt;
&lt;br /&gt;
To run MS DTC ping:&lt;br /&gt;
1.       Download MS DTC Ping from Microsoft Download Center http://download.microsoft.com/download/d/0/0/d00c8f6b-135d-4441-a97b-9de16a1935c1/dtcping.exe&lt;br /&gt;
2.       Extract it to some dir on both nodes&lt;br /&gt;
3.       Double click on exe file, on both nodes&lt;br /&gt;
4.       Now enter the host name of other node and try to ping&lt;br /&gt;
5.       The ping should work in both directions for MS DTC to work fine&lt;br /&gt;
&lt;br /&gt;
The log file will have the reason why the ping fails; it will also have the Machine CID which should be different for both nodes. If it is the same they have used the same windows image for both the servers.&lt;br /&gt;
&lt;br /&gt;
 If there is some other problem to establish the distributed connection the logs will have the details.  This can happen because of firewall blocking the ports or due to 3rd party software or incompatible network adapter driver.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! '''Recommended Action'''&lt;br /&gt;
| : Remove the second node from the cluster using Appadmin control center -&amp;gt; component activation page. Install fresh OS using disk in the second node and install CRS.&lt;br /&gt;
|-&lt;br /&gt;
! '''Release'''&lt;br /&gt;
| Release 7.0, Release 5.0&lt;br /&gt;
|-&lt;br /&gt;
! '''Associated CDETS #'''&lt;br /&gt;
| None'''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:Unified CCX, Release 7.0]]&lt;/div&gt;</summary>
		<author><name>Jayark</name></author>	</entry>

	</feed>