<?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 The connection either timed out or was lost. in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4934100#M42889</link>
    <description>&lt;P&gt;I have a Power BI Report Server on-premises with a large number of paginated reports and dashboards with data models. Some are large and sometimes take over an hour to refresh, while others are small and refresh in less than two minutes. All data is imported; I don't use direct queries.&lt;BR /&gt;I have an Intel Xeon Platinum 8-core CPU, speed 2.80 GHz. Occasionally, I receive the message "The connection either timed out or was lost." or "Timeout expired. The timeout period elapsed prior to completion of the operation. The exception was raised by the IDbCommand interface."&lt;/P&gt;&lt;P&gt;I'd like to know which resources in my configuration file I can modify to give more processing time to dashboards with automatic updates, preventing them from failing or throwing timeout errors. I have a large number of dashboards that refresh at 7 AM, and I don't want any of them to be affected.&lt;/P&gt;&lt;P&gt;Part of my configuration is attached:&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="CleanupCycleMinutes" Value="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="MaxActiveReqForOneUser" Value="20"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="DatabaseQueryTimeout" Value="300"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsScavengerCycle" Value="60"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsDbCycle" Value="60"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsAge" Value="30"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="MaxScheduleWait" Value="5"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="DisplayErrorLink" Value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;Add Key="WebServiceUseFileShareStorage" Value="false"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="ProcessTimeout" Value="150" /&amp;gt; --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="ProcessTimeoutGcExtension" Value="30" /&amp;gt; --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0430" /&amp;gt; full dump--&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0428" /&amp;gt; minidump --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0002" /&amp;gt; no dump--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;IsSchedulingService&amp;gt;True&amp;lt;/IsSchedulingService&amp;gt;&lt;BR /&gt;&amp;lt;IsNotificationService&amp;gt;True&amp;lt;/IsNotificationService&amp;gt;&lt;BR /&gt;&amp;lt;IsEventService&amp;gt;True&amp;lt;/IsEventService&amp;gt;&lt;BR /&gt;&amp;lt;PollingInterval&amp;gt;10&amp;lt;/PollingInterval&amp;gt;&lt;BR /&gt;&amp;lt;IsDataModelRefreshService&amp;gt;True&amp;lt;/IsDataModelRefreshService&amp;gt;&lt;BR /&gt;&amp;lt;MaxCatalogConnectionPoolSizePerProcess&amp;gt;0&amp;lt;/MaxCatalogConnectionPoolSizePerProcess&amp;gt;&lt;BR /&gt;&amp;lt;WindowsServiceUseFileShareStorage&amp;gt;False&amp;lt;/WindowsServiceUseFileShareStorage&amp;gt;&lt;BR /&gt;&amp;lt;MemorySafetyMargin&amp;gt;80&amp;lt;/MemorySafetyMargin&amp;gt;&lt;BR /&gt;&amp;lt;MemoryThreshold&amp;gt;90&amp;lt;/MemoryThreshold&amp;gt;&lt;BR /&gt;&amp;lt;RecycleTime&amp;gt;720&amp;lt;/RecycleTime&amp;gt;&lt;BR /&gt;&amp;lt;MaxAppDomainUnloadTime&amp;gt;30&amp;lt;/MaxAppDomainUnloadTime&amp;gt;&lt;BR /&gt;&amp;lt;MaxQueueThreads&amp;gt;0&amp;lt;/MaxQueueThreads&amp;gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jan 2026 14:24:20 GMT</pubDate>
    <dc:creator>jcaballe_1</dc:creator>
    <dc:date>2026-01-27T14:24:20Z</dc:date>
    <item>
      <title>The connection either timed out or was lost.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4934100#M42889</link>
      <description>&lt;P&gt;I have a Power BI Report Server on-premises with a large number of paginated reports and dashboards with data models. Some are large and sometimes take over an hour to refresh, while others are small and refresh in less than two minutes. All data is imported; I don't use direct queries.&lt;BR /&gt;I have an Intel Xeon Platinum 8-core CPU, speed 2.80 GHz. Occasionally, I receive the message "The connection either timed out or was lost." or "Timeout expired. The timeout period elapsed prior to completion of the operation. The exception was raised by the IDbCommand interface."&lt;/P&gt;&lt;P&gt;I'd like to know which resources in my configuration file I can modify to give more processing time to dashboards with automatic updates, preventing them from failing or throwing timeout errors. I have a large number of dashboards that refresh at 7 AM, and I don't want any of them to be affected.&lt;/P&gt;&lt;P&gt;Part of my configuration is attached:&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="CleanupCycleMinutes" Value="10"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="MaxActiveReqForOneUser" Value="20"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="DatabaseQueryTimeout" Value="300"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsScavengerCycle" Value="60"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsDbCycle" Value="60"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="RunningRequestsAge" Value="30"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="MaxScheduleWait" Value="5"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Add Key="DisplayErrorLink" Value="true"/&amp;gt;&lt;BR /&gt;&amp;lt;Add Key="WebServiceUseFileShareStorage" Value="false"/&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="ProcessTimeout" Value="150" /&amp;gt; --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="ProcessTimeoutGcExtension" Value="30" /&amp;gt; --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0430" /&amp;gt; full dump--&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0428" /&amp;gt; minidump --&amp;gt;&lt;BR /&gt;&amp;lt;!-- &amp;lt;Add Key="WatsonFlags" Value="0x0002" /&amp;gt; no dump--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;IsSchedulingService&amp;gt;True&amp;lt;/IsSchedulingService&amp;gt;&lt;BR /&gt;&amp;lt;IsNotificationService&amp;gt;True&amp;lt;/IsNotificationService&amp;gt;&lt;BR /&gt;&amp;lt;IsEventService&amp;gt;True&amp;lt;/IsEventService&amp;gt;&lt;BR /&gt;&amp;lt;PollingInterval&amp;gt;10&amp;lt;/PollingInterval&amp;gt;&lt;BR /&gt;&amp;lt;IsDataModelRefreshService&amp;gt;True&amp;lt;/IsDataModelRefreshService&amp;gt;&lt;BR /&gt;&amp;lt;MaxCatalogConnectionPoolSizePerProcess&amp;gt;0&amp;lt;/MaxCatalogConnectionPoolSizePerProcess&amp;gt;&lt;BR /&gt;&amp;lt;WindowsServiceUseFileShareStorage&amp;gt;False&amp;lt;/WindowsServiceUseFileShareStorage&amp;gt;&lt;BR /&gt;&amp;lt;MemorySafetyMargin&amp;gt;80&amp;lt;/MemorySafetyMargin&amp;gt;&lt;BR /&gt;&amp;lt;MemoryThreshold&amp;gt;90&amp;lt;/MemoryThreshold&amp;gt;&lt;BR /&gt;&amp;lt;RecycleTime&amp;gt;720&amp;lt;/RecycleTime&amp;gt;&lt;BR /&gt;&amp;lt;MaxAppDomainUnloadTime&amp;gt;30&amp;lt;/MaxAppDomainUnloadTime&amp;gt;&lt;BR /&gt;&amp;lt;MaxQueueThreads&amp;gt;0&amp;lt;/MaxQueueThreads&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 14:24:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4934100#M42889</guid>
      <dc:creator>jcaballe_1</dc:creator>
      <dc:date>2026-01-27T14:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: The connection either timed out or was lost.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4936476#M42890</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1461575" data-lia-user-login="jcaballe_1" class="lia-mention lia-mention-user"&gt;jcaballe_1&lt;/a&gt;, the timeout is configured in the report or model (PBIX/RDL), not in rsreportserver.config.&lt;BR /&gt;Therefore, large reports that take a long time to execute (for example, over one hour) tend to hit this command timeout and fail.&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV class=""&gt;In practical terms, the three key levers that will help you are:
&lt;DIV class=""&gt;&amp;nbsp;
&lt;DIV&gt;Per‑report data source timeout:&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Increase the command/query timeout on the data sources of the heavy dashboards (PBIX and/or RDL). This is where the main timeout error originates.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;
&lt;DIV&gt;For Power BI reports (PBIX) on Power BI Report Server:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Open the report in Power BI Desktop for Report Server (the RS‑specific build).&lt;/LI&gt;
&lt;LI&gt;Go to File → Options and settings → Data source settings.&lt;/LI&gt;
&lt;LI&gt;Select the data source → Edit Permissions → Edit → Advanced options.&lt;/LI&gt;
&lt;LI&gt;Increase the Command timeout (in minutes) for the heavy queries.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;For paginated reports (RDL):&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Open the report in Report Builder or Visual Studio.&lt;/LI&gt;
&lt;LI&gt;On the Data Source or Dataset properties, increase the Query timeout value.&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;Global scheduled refresh timeout on the server:&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Add or adjust ScheduledRefreshTimeoutMinutes to a level consistent with your longest acceptable refresh time (for example, 240 minutes).&lt;/LI&gt;
&lt;/UL&gt;
&lt;DIV&gt;Concurrency control at peak time:&lt;/DIV&gt;
&lt;UL&gt;
&lt;LI&gt;Reduce MaxQueueThreads to limit how many heavy refreshes run at once at 7 a.m., improving stability and reducing the likelihood of timeouts.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 27 Jan 2026 17:28:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4936476#M42890</guid>
      <dc:creator>Zanqueta</dc:creator>
      <dc:date>2026-01-27T17:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: The connection either timed out or was lost.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4987114#M42901</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1461575" data-lia-user-login="jcaballe_1" class="lia-mention lia-mention-user"&gt;jcaballe_1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Just wanted to check if the response provided by &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="861055" data-lia-user-login="Zanqueta" class="lia-mention lia-mention-user"&gt;Zanqueta&lt;/a&gt;&amp;nbsp;was helpful. If further assistance is needed, please reach out.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Feb 2026 05:19:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4987114#M42901</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2026-02-02T05:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: The connection either timed out or was lost.</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4998705#M42917</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1461575" data-lia-user-login="jcaballe_1" class="lia-mention lia-mention-user"&gt;jcaballe_1&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Just checking in to see if you query is resolved and if any responses were helpful.&lt;BR /&gt;Otherwise, feel free to reach out for further assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 04:47:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/The-connection-either-timed-out-or-was-lost/m-p/4998705#M42917</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2026-02-06T04:47:40Z</dc:date>
    </item>
  </channel>
</rss>

