<?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 : IdGenerator Problem</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : IdGenerator Problem</description>
  <pubDate>Wed, 15 Apr 2026 13:41:02 -700</pubDate>
  <lastBuildDate>Tue, 26 Apr 2011 15:08: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=2621</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>IdGenerator Problem :   Yes, indeed, just got it implemented...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10549#10549</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2621<br /><strong>Posted:</strong> 26-Apr-2011 at 3:08pm<br /><br />Yes, indeed, just got it implemented today an it works great!<div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 15:08:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10549#10549</guid>
  </item> 
  <item>
   <title>IdGenerator Problem : Hi Greg,  Just trying to touch...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10547#10547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2621<br /><strong>Posted:</strong> 26-Apr-2011 at 2:44pm<br /><br />Hi Greg,<DIV>&nbsp;</DIV><DIV>Just trying to touch base and check if the suggestion above, resolved the issue.</DIV><DIV>&nbsp;</DIV><DIV>Silvio.</DIV>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 14:44:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10547#10547</guid>
  </item> 
  <item>
   <title>IdGenerator Problem :   Thank you, I will try that.Greg...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10523#10523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2621<br /><strong>Posted:</strong> 22-Apr-2011 at 5:25am<br /><br />Thank you, I will try that.<div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Fri, 22 Apr 2011 05:25:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10523#10523</guid>
  </item> 
  <item>
   <title>IdGenerator Problem : Hi Greg,  in your RPC method,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10478#10478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2621<br /><strong>Posted:</strong> 19-Apr-2011 at 12:26pm<br /><br />Hi Greg,<DIV>&nbsp;</DIV><DIV>in your RPC method, have you tried the suggestion from the error message?</DIV><DIV>i.e.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>&nbsp; ...</FONT></FONT></FONT></DIV><DIV><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#000000>&nbsp;</FONT>&nbsp;var</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> options = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>new</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas> </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>SaveOptions</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>();</DIV><DIV><DIV>&nbsp; options.FixupTempIds = </FONT></FONT><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas><FONT color=#2b91af size=2 face=C&#111;nsolas>FixupTempIds</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>.InSaveListOnly;</DIV><DIV>&nbsp; mgr.SaveChanges(</FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>entitiesToBeSaved, options);</FONT></FONT></DIV><DIV>&nbsp;</DIV><DIV>Silvio.</DIV></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 19 Apr 2011 12:26:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10478#10478</guid>
  </item> 
  <item>
   <title>IdGenerator Problem :    Every so often, I will get...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10462#10462</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2621<br /><strong>Posted:</strong> 14-Apr-2011 at 5:50pm<br /><br />Every so often, I will get this error message:<div>&nbsp;</div><div>IdGenerator problem - not all temp ids converted to permanent ids.</div><div>If you are using auto-incrementing ids check that the FixupTempIds SaveOption is set to InSaveListOnly.</div><div>&nbsp;</div><div>If I ignore it, it seem to go away and everything seems to work ok.&nbsp; This started recently after I changed the backend from MySQL to SqlServer.</div><div>&nbsp;</div><div>I am using the usual Sql Server auto incrementing fields.</div><div>&nbsp;</div><div>As per another post:</div><div>&nbsp;</div><div><div>Here's a few places to look at:</div><div> </div><div>- Check for partial saves; (i.e. <em>SaveChangesAsync(listOfEntitiesToBeSaved)</em> instead of <em>SaveChangesAsync()</em>)</div><div>&nbsp;</div><div>Not doing this.</div><div>&nbsp;</div><div>- Check for multiple saves; (i.e. calling <em>SaveChangesAsync() </em>before a previous <em>SaveChangesAsync() </em>was completed)</div><div>&nbsp;</div><div>The save is being done during the RPC and uses SaveChanges, not SaveChangesAsync();</div><div>&nbsp;</div><div>- Check for server-side entity creation and saves (i.e. via any of the interceptors and/or RPC method)</div><div> This is true - I am creating a saving the entity on the server during an RPC call.</div><div>&nbsp;</div><div>&nbsp;</div></div><div>Greg</div><span style="font-size:10px"><br /><br />Edited by gregweb - 14-Apr-2011 at 5:57pm</span>]]>
   </description>
   <pubDate>Thu, 14 Apr 2011 17:50:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2621&amp;PID=10462#10462</guid>
  </item> 
 </channel>
</rss>