<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx</link><description>Today’s tale from the front: I needed to write some POC code and kept on running into the error below when attempting to Update() the dimension I had added an attribute to: 
 The cube with the ID of '&amp;lt;cube&amp;gt;', Name of '&amp;lt;cube&amp;gt;' was invalidated</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#10420660</link><pubDate>Wed, 22 May 2013 17:13:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10420660</guid><dc:creator>Raunak</dc:creator><description>&lt;p&gt;How can this be achieved using the XMLA?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10420660" width="1" height="1"&gt;</description></item><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#10212527</link><pubDate>Fri, 16 Sep 2011 17:15:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10212527</guid><dc:creator>AaronLST</dc:creator><description>&lt;p&gt;@Russell, I think what Doug meant was how to perform the equivalent operations in BIDS, in terms of how to do the ExpandFull and AlterDependants. &amp;nbsp;I am wondering myself. &amp;nbsp;I am experiencing the same issue except I added an attribute through BIDS, and particularly got the issue after I added it to a hierarchy and update the attribute relationships.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10212527" width="1" height="1"&gt;</description></item><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#10101116</link><pubDate>Tue, 07 Dec 2010 00:59:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10101116</guid><dc:creator>Mike</dc:creator><description>&lt;p&gt;Your solution solved my problem perfectly! Thanks for your post!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10101116" width="1" height="1"&gt;</description></item><item><title>I cannot find CreateDataItem method</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#9769978</link><pubDate>Wed, 17 Jun 2009 21:05:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9769978</guid><dc:creator>Mary</dc:creator><description>&lt;p&gt;In your code &lt;/p&gt;
&lt;p&gt;attr.KeyColumns.Add(CreateDataItem(dsv2, &amp;quot;dbo.DimAccount&amp;quot;, &amp;quot;CustomMembers&amp;quot;));&lt;/p&gt;
&lt;p&gt;I tried the same way to add an attribute, but I did not find such method in the Microsoft.AnalysisServices.dll assembly. My version is 9.0.242.0 Runtime Version: v2.0.50727, is that too old?&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9769978" width="1" height="1"&gt;</description></item><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#4421032</link><pubDate>Thu, 16 Aug 2007 23:32:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4421032</guid><dc:creator>KMeiser</dc:creator><description>&lt;p&gt;I am trying to perform a similar task using Vb.net. &amp;nbsp;When I try to update an attribute in a dimension, and the dimension is already referenced in a measuregroup, I receive the same error. &amp;nbsp;I am not sure how, in vb.net to mimic the c# command&lt;/p&gt;
&lt;p&gt;dim.Update(UpdateOptions.ExpandFull | UpdateOptions.AlterDependents);&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4421032" width="1" height="1"&gt;</description></item><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#3798544</link><pubDate>Tue, 10 Jul 2007 16:28:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3798544</guid><dc:creator>Russell Christopher</dc:creator><description>&lt;p&gt;Hey Doug - Generally, the error means that you modified something that will cause a cascading effect to other objects it is related to and you are not also modifying those objects in sympathy. You'll need to post a little more information before anyone can be more helpful, however&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3798544" width="1" height="1"&gt;</description></item><item><title>re: AMO Error when adding an attribute to an existing dimension: The transaction cannot be committed because one or more objects were invalidated during the transaction</title><link>http://blogs.msdn.com/b/bimusings/archive/2007/06/14/amo-error-when-adding-an-attribute-to-an-existing-dimension-the-transaction-cannot-be-committed-because-one-or-more-objects-were-invalidated-during-the-transaction.aspx#3710671</link><pubDate>Thu, 05 Jul 2007 22:05:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3710671</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;Okay, can I get an explanation of how to fix this while in BIDS without coding and what is going on?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3710671" width="1" height="1"&gt;</description></item></channel></rss>