<?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 : Query Timeout</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Query Timeout</description>
  <pubDate>Sun, 12 Apr 2026 23:18:09 -700</pubDate>
  <lastBuildDate>Thu, 12 Jul 2007 17:35:26 -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=240</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>Query Timeout : You can increase the timeout value....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=240&amp;PID=531#531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 240<br /><strong>Posted:</strong> 12-Jul-2007 at 5:35pm<br /><br /><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You can increase the timeout value. One of the properties of any query is CommandTimeout,&nbsp; See Reference Help regarding the IEntityQuery interface..</SPAN></FONT><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p>Public Properties <DIV =secti&#111;n name="collapseableSecti&#111;n"><TABLE =edItemListTable><T><TR><TH>&nbsp;</TH><TH>Name</TH><TH>Description</TH></TR><TR><TD =Cell></TD><TD =MembersCell><a href="about:blankIdeaBlade.Persistence~IdeaBlade.Persistence.IEntityQuery~CommandTimeout.html" target="_blank"><FONT size=3>CommandTimeout</FONT></A></TD><TD =MembersDei&#111;nCell>Gets or sets the timeout value for the command. &nbsp;</TD></TR><TR><TD =Cell></TD><TD =MembersCell><a href="about:blankIdeaBlade.Persistence~IdeaBlade.Persistence.IEntityQuery~EntityType.html" target="_blank"><FONT size=3>EntityType</FONT></A></TD><TD =MembersDei&#111;nCell>The entity type that this query returns. &nbsp;</TD></TR><TR><TD =Cell></TD><TD =MembersCell><a href="about:blankIdeaBlade.Persistence~IdeaBlade.Persistence.IEntityQuery~FindRowsResultMode.html" target="_blank"><FONT size=3>FindRowsResultMode</FONT></A></TD><TD =MembersDei&#111;nCell>Returns information regarding the behaviour of the <a href="about:blankIdeaBlade.Persistence~IdeaBlade.Persistence.IEntityQuery~FindRows.html" target="_blank"><FONT size=3>FindRows</FONT></A> method call. &nbsp;</TD></TR><TR><TD =Cell></TD><TD =MembersCell><a href="about:blankIdeaBlade.Persistence~IdeaBlade.Persistence.IEntityQuery~QueryStrategy.html" target="_blank"><FONT size=3>QueryStrategy</FONT></A></TD><TD =MembersDei&#111;nCell><P>Determines whether this query will operate against the data source, the in-memory cache, or a combination of the two.&nbsp;&nbsp;</P></TD></TR></T></TABLE></DIV><DIV =secti&#111;n name="collapseableSecti&#111;n"><BR><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">If&nbsp;you want to avoid such timeout, you should try to break down some of the more complicated span queries into several smaller separate span queries.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Assuming you have 3 different relationships to the current entity table, you would normally create a span query with 3 separate AddSpan clauses to retrieve data from all 4 tables.&nbsp; You could try to break them up into 3 separate span queries instead.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 17:35:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=240&amp;PID=531#531</guid>
  </item> 
  <item>
   <title>Query Timeout : I have a query that generates...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=240&amp;PID=530#530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 240<br /><strong>Posted:</strong> 12-Jul-2007 at 5:32pm<br /><br /><P =Ms&#111;normal>I have a query that generates a timeout due to all the query spans I use.&nbsp; Is there a way to increase the timeout threshold or possibly make the query spans a bit more efficient?</P>]]>
   </description>
   <pubDate>Thu, 12 Jul 2007 17:32:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=240&amp;PID=530#530</guid>
  </item> 
 </channel>
</rss>