<?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="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : objCommand.Timeout</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : objCommand.Timeout]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 13 Apr 2026 19:56:02 +0000</pubDate>
  <lastBuildDate>Mon, 22 Aug 2005 18:28:40 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=15983</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[objCommand.Timeout : Interesting suggestion for this...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post89198.html#89198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 22&nbsp;August&nbsp;2005 at 6:28pm<br /><br />Interesting suggestion for this problem found here:<DIV><A href="http://forums.webwiz.net/forum_posts.asp?TID=16163" target="_blank">http://forums.webwiz.net/forum_posts.asp?TID=16163</A></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Aug 2005 18:28:40 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post89198.html#89198</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout :   dpyers wrote:Been a while since...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87894.html#87894</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11563">dudboy</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2005 at 4:28pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by dpyers" alt="Originally posted by dpyers" style="vertical-align: text-bottom;" /> <strong>dpyers wrote:</strong><br /><br />Been a while since I set up an sql server but ISTR that there's also a default timeout setting on the sql server that you might have to adjust.</td></tr></table> <DIV>&nbsp;</DIV><DIV>Thanks for the tip, I have already tried this one and no joy either</DIV>]]>
   </description>
   <pubDate>Fri, 29 Jul 2005 16:28:17 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87894.html#87894</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout :   JJLatWebWiz wrote: OK. Here&amp;#039;s...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87893.html#87893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11563">dudboy</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2005 at 4:27pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by JJLatWebWiz" alt="Originally posted by JJLatWebWiz" style="vertical-align: text-bottom;" /> <strong>JJLatWebWiz wrote:</strong><br /><br /><P>OK.&nbsp; Here's my last last suggestion and it starts with question... can you afford a second SQL server?</P><DIV>You have an impressively active forum.&nbsp; This morning I noticed over 100 active users when I did the same searches I did before.&nbsp; I think it's time for you scale up and use a second SQL server to offload the search functions, especially the message body search.&nbsp; I think your entire forum response time will increase dramatically.</DIV><DIV>&nbsp;</DIV><DIV>The second server could be a complete mirror of the main server (so a handy fail-over), or you could just mirror the tblThreads table.&nbsp; The amount of WWF code required to redirect searches to the second SQL server should be&nbsp;minimal.</DIV><DIV>&nbsp;</DIV><DIV>Since your message body search is practically useless at the moment, you should consider disabling it altogether, or restricting its use to particular users and/or based on the number of active users.</DIV><DIV>&nbsp;</DIV><DIV>I've not done it myself, but if you're interested in scaling the search to a second SQL server, I would be happy to help.&nbsp; Just send me a PM.</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Unfortunatley the cost implications of this are to big for a non profit making club. Thanks for the advise though</DIV>]]>
   </description>
   <pubDate>Fri, 29 Jul 2005 16:27:36 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87893.html#87893</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : Been a while since I set up an...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87883.html#87883</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2005 at 2:40pm<br /><br />Been a while since I set up an sql server but ISTR that there's also adefault timeout setting on the sql server that you might have to adjust.]]>
   </description>
   <pubDate>Fri, 29 Jul 2005 14:40:20 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87883.html#87883</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : OK. Here&amp;#039;s my last last suggestion...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87872.html#87872</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 29&nbsp;July&nbsp;2005 at 11:45am<br /><br /><P>OK.&nbsp; Here's my last last suggestion and it starts with question... can you afford a second SQL server?</P><DIV>You have an impressively active forum.&nbsp; This morning I noticed over 100 active users when I did the same searches I did before.&nbsp; I think it's time for you scale up and use a second SQL server to offload the search functions, especially the message body search.&nbsp; I think your entire forum response time will increase dramatically.</DIV><DIV>&nbsp;</DIV><DIV>The second server could be a complete mirror of the main server (so a handy fail-over), or you could just mirror the tblThreads table.&nbsp; The amount of WWF code required to redirect searches to the second SQL server should be&nbsp;minimal.</DIV><DIV>&nbsp;</DIV><DIV>Since your message body search is practically useless at the moment, you should consider disabling it altogether, or restricting its use to particular users and/or based on the number of active users.</DIV><DIV>&nbsp;</DIV><DIV>I've not done it myself, but if you're interested in scaling the search to a second SQL server, I would be happy to help.&nbsp; Just send me a PM.</DIV>]]>
   </description>
   <pubDate>Fri, 29 Jul 2005 11:45:33 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87872.html#87872</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : I have uped the time out to 360...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87824.html#87824</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11563">dudboy</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 28&nbsp;July&nbsp;2005 at 12:50pm<br /><br />I have uped the time out to 360 and still no joy.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 28 Jul 2005 12:50:24 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87824.html#87824</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : With all due respect to boRg,...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87784.html#87784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 27&nbsp;July&nbsp;2005 at 3:06pm<br /><br /><P>With all due respect to boRg, I doubt a change to any permission functionality is going to change your situation.&nbsp; I've done several searches of your messages and found that even in cases where the result is zero records, the timeout still results.&nbsp; That means that the sub-query of the main query doesn't have time to complete within the timeout.</P><DIV>I ran this query on your site: <FONT face="Courier New, Courier, mono" size=1>SELECT tblTopic.Topic_ID, tblTopic.Forum_ID, tblTopic.Poll_ID, tblTopic.No_of_views, tblTopic.Subject FROM tblTopic WHERE tblTopic.Topic_ID IN &nbsp;(SELECT tblThread.Topic_ID &nbsp;FROM tblThread &nbsp;WHERE ( tblThread.Message LIKE '%jetta golf gti abdbflashada%'))&nbsp; ORDER BY tblTopic.Last_entry_date DESC;</FONT></DIV><DIV>&nbsp;</DIV><DIV>The result could not possibly return a result yet the timeout would expire 4 out of 5 times, so the sub-query "<FONT face="Courier New" size=1>(SELECT tblThread.Topic_ID &nbsp;FROM tblThread &nbsp;WHERE ( tblThread.Message LIKE '%jetta golf gti abdbflashada%'))"<FONT face="Arial, Helvetica, sans-serif" size=3> </FONT></FONT>is probably where the problem starts.&nbsp; The problem with the subquery is that it's doing a query against&nbsp;the message field which is a&nbsp;'text' datatype.&nbsp; This problem exists for the entire SQL world (Oracle, MS SQL, MySQL, MS Access, etc).&nbsp; To get acceptable performance when doing text/memo/long searches you need to use something like the Full-Text Search&nbsp;or simply speed up the machine running SQL Server.</DIV><DIV>&nbsp;</DIV><DIV>Is your SQL Server running on a dedicated machine?&nbsp; What kind of hardware is it running on?&nbsp; Does it have plenty of memory?</DIV><DIV>&nbsp;</DIV><DIV>However, given the fact that I did get a response in 1 of the 5 attempts of the same search, extending the timeout even further might work.</DIV><DIV>&nbsp;</DIV><DIV>I wish I could get your data to do a test run on my MySQL-based WWF.&nbsp; I think all forum developers eventually start using the Full-text indexing option and then start using Natural Language searches when the forum data gets large.</DIV>]]>
   </description>
   <pubDate>Wed, 27 Jul 2005 15:06:47 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87784.html#87784</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : Hopefully someone can help.  Addin...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87761.html#87761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11563">dudboy</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 27&nbsp;July&nbsp;2005 at 5:06am<br /><br />Hopefully someone can help.<DIV>&nbsp;</DIV><DIV>Addin the extra timeout setting has not fixed the age old search.asp timeout issue.</DIV><DIV>&nbsp;</DIV><DIV>Going buy a PM I got from&nbsp;<SPAN =bold><A name=""></A>-boRg- </SPAN>there is known issue with the permissions. See below.</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </DIV><DIV>Becuase of the way the permisisons work in the present version etc. the search page performance is always going to be bad.<BR><BR>However, version 8 has a new permissions system so I will be writting a new search page for that version, however, at present I am working over 60 hours a week and don't have much time to work on the next version. Most of my spare time is taken up with anwsering questions instead of coding the next version<BR></td></tr></table></DIV>]]>
   </description>
   <pubDate>Wed, 27 Jul 2005 05:06:14 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87761.html#87761</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : I noticed that you have over 750,000...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87716.html#87716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19649">JJLatWebWiz</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 26&nbsp;July&nbsp;2005 at 11:54am<br /><br />I noticed that you have over 750,000 posts.&nbsp; That's pretty healthy number of records to search through in a non-indexed field.&nbsp; Perhaps someone else here can tell us if "Full-Text Indexing" on the Message field in tblThreads would improve the query speed.<DIV>&nbsp;</DIV><DIV>To answer your question, look in common.asp.&nbsp;&nbsp;About half way through the file you should see:</DIV><DIV>&nbsp;</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV><FONT face="Courier New, Courier, mono" size=1>'Set the connection string to the database<BR>adoCon.connectionstring = strCon</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=1></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono" size=1>'Set an active connection to the Connection object<BR>adoCon.Open</FONT></DIV></BLOCKQUOTE><DIV>&nbsp;</DIV><DIV>Simply add "<EM>adoCon.ConnectionTimeout = 30</EM>" after&nbsp;"<EM>adoCon.ConnectionString = strCon</EM>" to change the default 15 second timeout to 30 seconds.</DIV><DIV>&nbsp;</DIV><DIV>If you enable the Full-Text Indexing,&nbsp;run an identical query in the SQL Query Analyzer&nbsp;before and after the Full-Text Indexing and let us know if the Execution Plan shows any significant improvement.&nbsp; This may also be a good query to turn into a Stored Procedure.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 26 Jul 2005 11:54:10 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87716.html#87716</guid>
  </item> 
  <item>
   <title><![CDATA[objCommand.Timeout : I am still trying to fix the search...]]></title>
   <link>https://forums.webwiz.net/objcommand-timeout_topic15983_post87706.html#87706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=11563">dudboy</a><br /><strong>Subject:</strong> 15983<br /><strong>Posted:</strong> 26&nbsp;July&nbsp;2005 at 4:20am<br /><br />I am still trying to fix the search timeout problem that has been around for ages.<DIV>&nbsp;</DIV><DIV>I have found a article that says to alter the Command timeout as well as the sessions and server timeouts.</DIV><DIV>&nbsp;</DIV><DIV>Can someone point me in the right direction for this setting in the forum script</DIV><DIV><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </DIV><DIV>If you really have to increase the connection or command timeouts there are<BR>properties of the connection and command objects to do this:<BR><BR>objConn.Timeout = xx<BR>objCommand.Timeout = xx<BR></td></tr></table></DIV><DIV>&nbsp;</DIV><A href="http://p2p.wrox.com/archive/asp_database_setup/2002-07/6.asp" target="_blank">http://p2p.wrox.com/archive/asp_database_setup/2002-07/6.asp</A><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 26 Jul 2005 04:20:09 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/objcommand-timeout_topic15983_post87706.html#87706</guid>
  </item> 
 </channel>
</rss>