<?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 : ExecuteSave called twice on timeout</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : ExecuteSave called twice on timeout</description>
  <pubDate>Thu, 23 Apr 2026 06:52:33 -700</pubDate>
  <lastBuildDate>Wed, 15 Jun 2011 06:51:03 -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=2749</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>ExecuteSave called twice on timeout :   No,this is not currently configurable,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10987#10987</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2749<br /><strong>Posted:</strong> 15-Jun-2011 at 6:51am<br /><br />No,&nbsp;this is not currently configurable, but you can set various timeout values to avoid the problem.&nbsp; As you mentioned you can modify the client's SendTimeout, and also the Transaction timeout and the ASP.NET execution timeout.&nbsp; Here's more info on what's configurable - <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/understand-timeouts" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/understand-timeouts</a><div></div>]]>
   </description>
   <pubDate>Wed, 15 Jun 2011 06:51:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10987#10987</guid>
  </item> 
  <item>
   <title>ExecuteSave called twice on timeout :   Thanks for your answer! Is...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10984#10984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1176" rel="nofollow">LarsDraco</a><br /><strong>Subject:</strong> 2749<br /><strong>Posted:</strong> 15-Jun-2011 at 1:27am<br /><br />Thanks for your answer! Is there a way to get rid of this behaviour?]]>
   </description>
   <pubDate>Wed, 15 Jun 2011 01:27:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10984#10984</guid>
  </item> 
  <item>
   <title>ExecuteSave called twice on timeout :   This is by design. Any timeout...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10982#10982</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2749<br /><strong>Posted:</strong> 14-Jun-2011 at 6:09pm<br /><br />This is by design.&nbsp; Any timeout exception will trigger an automatic retry, which is what you're seeing.]]>
   </description>
   <pubDate>Tue, 14 Jun 2011 18:09:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10982#10982</guid>
  </item> 
  <item>
   <title>ExecuteSave called twice on timeout : I have a problem with theEntityServerSaveInterceptor....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10916#10916</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1176" rel="nofollow">LarsDraco</a><br /><strong>Subject:</strong> 2749<br /><strong>Posted:</strong> 09-Jun-2011 at 3:02am<br /><br />I have a problem with the&nbsp;EntityServerSaveInterceptor. When I do some stuff in the ExecuteSave method and it comes to a send timeout, because the stuff I do in the ExecuteSave method takes to long -&gt; the ExecuteSave method will be called again... Is this by design???<div><br></div><div>The problem can easily be reproduced with the following&nbsp;EntityServerSaveInterceptor (assuming the send timeout is set to the default 1 minute):<br><div><br></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>public class MyEntityServerSaveInterceptor : IdeaBlade.EntityModel.Server.EntityServerSaveInterceptor</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>protected override bool ExecuteSave()</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>System.Threading.Thread.Sleep(61000); // Sleep produces timeout -&gt; ExecuteSave will be called again</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>return&nbsp;base.ExecuteSave();</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>}</div></div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div></div>]]>
   </description>
   <pubDate>Thu, 09 Jun 2011 03:02:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2749&amp;PID=10916#10916</guid>
  </item> 
 </channel>
</rss>