<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : InvalidOperation Exception when saving</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : InvalidOperation Exception when saving</description>
  <pubDate>Tue, 16 Jun 2026 17:54:57 -700</pubDate>
  <lastBuildDate>Tue, 04 Jan 2011 01:23:38 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2413</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>InvalidOperation Exception when saving : No problem. Thanks for sharing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9544#9544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 04-Jan-2011 at 1:23am<br /><br />No problem. Thanks for sharing your solution.]]>
   </description>
   <pubDate>Tue, 04 Jan 2011 01:23:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9544#9544</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : I think I figured it out. I was...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9541#9541</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1040" rel="nofollow">mmedic</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 8:14pm<br /><br />I think I figured it out. I was trying to delete an object graph in the collection changed event handler which did not work. Once I moved the Delete() outside the event handler code, everything worked OK. Thanks for your help!<br>]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 20:14:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9541#9541</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : Could you try deleting the object...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9540#9540</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 6:31pm<br /><br />Could you try deleting the object graph without binding the collection to the Infragistics DataGrid in the first place?]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 18:31:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9540#9540</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : I looked at this some more and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9536#9536</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1040" rel="nofollow">mmedic</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 6:18pm<br /><br />I looked at this some more and actually the error is happening when I call Entity.Delete() method as a part of deleting the object graph. There is noting that is modifying the collection at tha time but the collection was bound to an Infragtistics DataGrid and unbound prior to Delete() call. Any ideas?]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 18:18:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9536#9536</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : mmedic;I&amp;#039;ve tried to repro...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9533#9533</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 3:34pm<br /><br />mmedic;<div><br></div><div>I've tried to repro but was not able to as well. Here's what reentrant means from Wikipedia.&nbsp;</div><div><br></div><div><a href="http://en.wikipedia.org/wiki/Reentrant_%28subroutine%29" target="_blank">http://en.wikipedia.org/wiki/Reentrant_(subroutine)</a></div><div><br></div><div>In the context of this issue, this exception can occur if you have a RelatedEntityList&lt;T&gt; and you are making a change to that list using either Clear(), Add(), Remove() and/or RemoveAt() methods. And while that change is still being made, another change is executed.</div><div><br></div><div>In your case, you have a Book with a RelatedEntityList&lt;Isbn&gt;. My suggestion is to check whether there's another Add, Clear, and/or Remove operation that is being executed while you're deleting the Book's object graph.</div><div><br></div><div>Hope this helps.</div>]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 15:34:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9533#9533</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : I am not sure that I&amp;#039;ll be...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9530#9530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1040" rel="nofollow">mmedic</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 11:33am<br /><br />I am not sure that I'll be able to recreate it using the NorthwindIB database.&nbsp;I'm trying to get information on what this exception means as it may be something I'm doing wrong in my code.&nbsp;I could not find any&nbsp;documentation about the exception or concept or reentrance. The method throwing the exception is CheckReenatrance().]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 11:33:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9530#9530</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : Hi mmedic;Could you provide a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9529#9529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=912" rel="nofollow">DenisK</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 03-Jan-2011 at 11:21am<br /><br />Hi mmedic;<div><br></div><div>Could you provide a repro solution using NorthwindIB database? Thank you.</div>]]>
   </description>
   <pubDate>Mon, 03 Jan 2011 11:21:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9529#9529</guid>
  </item> 
  <item>
   <title>InvalidOperation Exception when saving : I have a Book object in my model...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9521#9521</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1040" rel="nofollow">mmedic</a><br /><strong>Subject:</strong> 2413<br /><strong>Posted:</strong> 02-Jan-2011 at 9:59pm<br /><br />I have a Book object in my model that contains a list of Isbn objects. When I try to delete a whole graph of Book (including the Isbn object), I get a "RelatedEntityList's are not reentrant" message. I've never seen that before and could not dig up anything on the net. Any ideas why this error is occurring?<br>]]>
   </description>
   <pubDate>Sun, 02 Jan 2011 21:59:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2413&amp;PID=9521#9521</guid>
  </item> 
 </channel>
</rss>