<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: SQL Timeout after 31 seconds in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74381#M26986</link>
    <description>Hello Kristian,&lt;BR /&gt;&lt;BR /&gt;Perhaps I missed it but I did not see in your post or PDF what you meant by not working. Do you mean that the 400 second override is not having an effect and the query is still timing out after 30 seconds right?&lt;BR /&gt;&lt;BR /&gt;The MS SQLClient SQLCommand docs ( &lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.commandtimeout?view=dotnet-plat-ext-3.1" target="test_blank"&gt;https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.commandtimeout?view=dotnet-plat-ext-3.1&lt;/A&gt; ) had a couple of possible causes of this.&lt;BR /&gt;&lt;BR /&gt;I also found quite a few articles about connection timeout where the SMEs were recommending setting the timeout values in the connection string. Could you perhaps share the non-private parts of your connection string here as well for analysis?&lt;BR /&gt;&lt;BR /&gt;Lastly, this is not directly towards the issue but I would recommend paging these requests (as did several of the threads I read on timeouts.) Unless we are 100% sure of the volume of data, whatever static value we use today may not account for future behavior or an environment that is not performing optimally. Paging/chunking these queries and processing them incrementally will likely provide extra resiliency and help manage these timeout issues. To that end, we've made similar recommendation to customers that needed to add something like 400K items in a single "Add to Queue" action that was timing out.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Wing Ling Leung&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 28 Sep 2020 22:12:00 GMT</pubDate>
    <dc:creator>wleung</dc:creator>
    <dc:date>2020-09-28T22:12:00Z</dc:date>
    <item>
      <title>SQL Timeout after 31 seconds</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74380#M26985</link>
      <description>​Hi Blueprism team I have tried to set the timeout in blueprism to 400 seconds. It was done inside the object Data - sql server connection to sql database. see attached file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Question why does it not work.?&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;&lt;/P&gt;
&lt;BR /&gt;greetings Kristian&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kristian Holm&lt;BR /&gt;RPA programmer&lt;BR /&gt;PenSam (Pension Company)&lt;BR /&gt;Copenhagen Denmark&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74380#M26985</guid>
      <dc:creator>KristianHolm1</dc:creator>
      <dc:date>2020-09-28T12:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: SQL Timeout after 31 seconds</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74381#M26986</link>
      <description>Hello Kristian,&lt;BR /&gt;&lt;BR /&gt;Perhaps I missed it but I did not see in your post or PDF what you meant by not working. Do you mean that the 400 second override is not having an effect and the query is still timing out after 30 seconds right?&lt;BR /&gt;&lt;BR /&gt;The MS SQLClient SQLCommand docs ( &lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.commandtimeout?view=dotnet-plat-ext-3.1" target="test_blank"&gt;https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlcommand.commandtimeout?view=dotnet-plat-ext-3.1&lt;/A&gt; ) had a couple of possible causes of this.&lt;BR /&gt;&lt;BR /&gt;I also found quite a few articles about connection timeout where the SMEs were recommending setting the timeout values in the connection string. Could you perhaps share the non-private parts of your connection string here as well for analysis?&lt;BR /&gt;&lt;BR /&gt;Lastly, this is not directly towards the issue but I would recommend paging these requests (as did several of the threads I read on timeouts.) Unless we are 100% sure of the volume of data, whatever static value we use today may not account for future behavior or an environment that is not performing optimally. Paging/chunking these queries and processing them incrementally will likely provide extra resiliency and help manage these timeout issues. To that end, we've made similar recommendation to customers that needed to add something like 400K items in a single "Add to Queue" action that was timing out.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Wing Ling Leung&lt;BR /&gt;Senior Product Consultant&lt;BR /&gt;Blue Prism Professional Services&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2020 22:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74381#M26986</guid>
      <dc:creator>wleung</dc:creator>
      <dc:date>2020-09-28T22:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: SQL Timeout after 31 seconds</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74382#M26987</link>
      <description>Hello blueprism&lt;BR /&gt;&lt;BR /&gt;The issue is that it timeout after 30 seconds and not 400 seconds.&lt;BR /&gt;I have the connection​ string:&lt;BR /&gt;database="PSP_Prod_PSLiv";data source="PENFLXIPINS002\I02";Trusted_Connection=Yes&lt;BR /&gt;&lt;BR /&gt;errormessage from blueprism:&lt;BR /&gt;Execution timeout has expired. The timeout period expired before the operation was performed or the server did not respond.&lt;BR /&gt;&lt;BR /&gt;The code is from : &lt;A title="Why do I get &amp;quot;Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.&amp;quot; when connecting with OLEDB?" href="https://portal.blueprism.com/customer-support/support-center?_ga=2.53477930.344698627.1601274777-1631487434.1591187699#/path/Operational-Support/Performance/Database-Management/1360595772/Why-do-I-get-Execution-Timeout-Expired-The-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding-when-connecting-with-OLEDB.htm" target="_blank" rel="noopener"&gt;https://portal.blueprism.com/customer-support/support-center#/path/Operational-Support/Performance/Database-Management/1360595772/Why-do-I-get-Execution-Timeout-Expired-The-timeout-period-elapsed-prior-to-completion-of-the-operation-or-the-server-is-not-responding-when-connecting-with-OLEDB.htm&lt;/A&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18048.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18204iB8A9A860282CE655/image-size/large?v=v2&amp;amp;px=999" role="button" title="18048.png" alt="18048.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;But blueprism timeout after 30 seconds.?&lt;BR /&gt;&lt;BR /&gt;In sql management studio it can execute the query in 50 seconds.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;greetings &lt;BR /&gt;&lt;BR /&gt;Kristian&lt;BR /&gt;Holm&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kristian Holm&lt;BR /&gt;RPA programmer&lt;BR /&gt;PenSam (Pension Company)&lt;BR /&gt;Copenhagen Denmark&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74382#M26987</guid>
      <dc:creator>KristianHolm1</dc:creator>
      <dc:date>2020-09-29T06:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: SQL Timeout after 31 seconds</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74383#M26988</link>
      <description>I think the Blue Prism support article is a bit misleading; that code will only change the timeout of the "waitfor delay" query, it won't affect any queries afterwards because the timeout is specific to the SqlCommand object.&lt;BR /&gt;&lt;BR /&gt;Assuming you're using the Get Collection action, you'll want to add a line to the code in the Get Data Table stage: &lt;CODE&gt;cmd.CommandTimeout = 120&lt;/CODE&gt; (however many seconds you need)&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="18052.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/18203i9ED02A52AF0FCDF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="18052.png" alt="18052.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nicholas Zejdlik&lt;BR /&gt;RPA Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74383#M26988</guid>
      <dc:creator>NicholasZejdlik</dc:creator>
      <dc:date>2020-09-29T14:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: SQL Timeout after 31 seconds</title>
      <link>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74384#M26989</link>
      <description>thanks its working&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kristian Holm&lt;BR /&gt;RPA programmer&lt;BR /&gt;PenSam (Pension Company)&lt;BR /&gt;Copenhagen Denmark&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/SQL-Timeout-after-31-seconds/m-p/74384#M26989</guid>
      <dc:creator>KristianHolm1</dc:creator>
      <dc:date>2020-09-29T16:13:00Z</dc:date>
    </item>
  </channel>
</rss>

