﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » Enterprise Server - V1 » Issues  » ES Timeout</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 05 Apr 2026 14:27:02 GMT</lastBuildDate><ttl>20</ttl><item><title>ES Timeout</title><link>http://forum.strataframe.net/FindPost32229.aspx</link><description>I have a stored procedure in SQL server which will run for a while. When I call the stored procedure from the application ES returning "Timeout expired. &amp;nbsp;The timeout period elapsed prior to completion of the operation or the server is not responding"&lt;br/&gt;&lt;br/&gt;&lt;div&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;Dim&lt;/span&gt;&amp;nbsp;SqlCommand&amp;nbsp;&lt;span style="color:blue;"&gt;As&lt;/span&gt;&amp;nbsp;&lt;span style="color:blue;"&gt;New&lt;/span&gt;&amp;nbsp;&lt;span style="color:#2b91af;"&gt;SqlCommand&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&lt;span style="color: blue;"&gt;Try&lt;/span&gt;&lt;font color="#000000"&gt;&amp;nbsp;&amp;nbsp;&lt;/font&gt;&lt;/pre&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&lt;font color="#000000"&gt;SqlCommand.CommandText&amp;nbsp;=&amp;nbsp;&lt;/font&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;"MyProcedure"&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;SqlCommand.CommandType&amp;nbsp;=&amp;nbsp;&lt;span style="color: rgb(43, 145, 175);"&gt;CommandType&lt;/span&gt;&lt;font color="#000000"&gt;.StoredProcedure&lt;/font&gt;&lt;/pre&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&lt;span style="color: blue;"&gt;Me&lt;/span&gt;&lt;font color="#000000"&gt;.ExecuteNonQuery(SqlCommand)&lt;/font&gt;&lt;span style="color: blue;"&gt;Catch&lt;/span&gt;&lt;font color="#000000"&gt;&amp;nbsp;ex&amp;nbsp;&lt;/font&gt;&lt;span style="color: blue;"&gt;As&lt;/span&gt;&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;Exception&lt;/span&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;ApplicationEventLog&lt;/span&gt;&lt;font color="#000000"&gt;.WriteException(ex,&amp;nbsp;&lt;/font&gt;&lt;span style="color: blue;"&gt;False&lt;/span&gt;&lt;font color="#000000"&gt;)&lt;/font&gt;&lt;/pre&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&lt;font color="#000000"&gt;&lt;/font&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt;&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;&lt;span style="color: blue;"&gt;Try&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;What can I do?&lt;/span&gt;&lt;/pre&gt;&lt;pre style="font-family:Consolas;font-size:13;color:black;background:white;"&gt;&lt;span style="color:blue;"&gt;&lt;br/&gt;&lt;/span&gt;&lt;/pre&gt;</description><pubDate>Thu, 17 Oct 2013 15:46:31 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: ES Timeout</title><link>http://forum.strataframe.net/FindPost32233.aspx</link><description>Thanks guys.</description><pubDate>Thu, 17 Oct 2013 15:46:31 GMT</pubDate><dc:creator>Danny Doobay</dc:creator></item><item><title>RE: ES Timeout</title><link>http://forum.strataframe.net/FindPost32232.aspx</link><description>Edhy beat me to it by a few seconds.</description><pubDate>Thu, 17 Oct 2013 13:19:13 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ES Timeout</title><link>http://forum.strataframe.net/FindPost32231.aspx</link><description>You can set the SqlCommand.Timeout. &amp;nbsp;The default value is 30, which will cause the SQL Server connector to throw an exception if the command hasn't been completed in 30 seconds. &amp;nbsp;You can set it to 0, which means "no timeout". &amp;nbsp;Or you can set it to any number of seconds that you want.</description><pubDate>Thu, 17 Oct 2013 13:18:50 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: ES Timeout</title><link>http://forum.strataframe.net/FindPost32230.aspx</link><description>Hi Danny,&lt;br/&gt;&lt;br/&gt;Set the timeout to the connection to 0 to allow your sp to run properly.&lt;br/&gt;&lt;br/&gt;&lt;span id="ctl00_ctlContentPlaceHolder_ctl00_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl01_lblFullMessage"&gt;&lt;pre style="font-family: Consolas; font-size: 13px; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;&lt;font color="#000000"&gt;SqlCommand.Timeout = 0&lt;br/&gt;&lt;/font&gt;&lt;/pre&gt;&lt;/span&gt;</description><pubDate>Thu, 17 Oct 2013 13:17:24 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>