<?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: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions) in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759824#M11208</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, the msmdsrv.ini containing this setting is there, but it is explicitely stated to NOT change this file but the other one that doesn`t contain the setting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But: I just tried to add the &amp;lt;ExternalCommandTimeout&amp;gt; to the "outer" msmdsrv.ini (it´s not there initially, this is why i assumed that i cannot set it there) and set it to desired value, and on restart my changed setting also appears in the "inner" (rewritten on start of service) file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now i just have to see if this does any good...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I definitely was not talking about changing the "inner" Workspace file. As stated in the docs that gets overwritten each time the service restarts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My "outer" file already has "&amp;lt;ExternalCommandTimeout&amp;gt;" so I'm not sure why your's does not. But copying this setting to the "outer" file should work fine as long as it appears under the correct parent element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fact that this setting was missing in your environment would explain why you were seeing the default value of 3600 seconds being applied.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Aug 2019 05:18:17 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2019-08-07T05:18:17Z</dc:date>
    <item>
      <title>Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759085#M11197</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i´m trying to refresh a PowerBI model and receive the error&lt;/P&gt;&lt;PRE&gt;Status: Error Failed to refresh the model, Exception Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'Timeout expired. The timeout period elapsed prior to completion of the operation.. The exception was raised by the IDbCommand interface.

at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)
at Microsoft.PowerBI.ReportServer.AsServer.TOMWrapper.RefreshModel(Database database)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.RefreshDatabase(String databaseName, IEnumerable`1 dataSources, String clientSessionId)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshDatabase(AsDatabaseInfo asDatabaseInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;&amp;gt;c__DisplayClass9.&amp;lt;ExecuteActionWithLogging&amp;gt;b__7()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;ExecuteFuncWithLogging&amp;gt;d__3`1.MoveNext()&lt;/PRE&gt;&lt;P&gt;Please note that the error happens in Tabular.Model.SaveChanges and is NOT related to a specific DataSource (as the "usual" error that you find a lot of info about in the community).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error appears 60 minutes / 1 hour into the DataModelRefresh, so i´m currently guessing that the setting&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;STRONG&gt;ExternalCommandTimeout&lt;/STRONG&gt;&lt;SPAN&gt;" in the SSASTabluar instance that the ReportServer is using would do the trick, but how can i change it? It´s not in the file referenced here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://docs.microsoft.com/de-de/power-bi/report-server/scheduled-refresh-troubleshoot#analysis-services&amp;nbsp;" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/de-de/power-bi/report-server/scheduled-refresh-troubleshoot#analysis-services&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there something else you could suggest me to try?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 12:43:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759085#M11197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-06T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759637#M11200</link>
      <description>&lt;P&gt;There are a couple of configuration files referenced in that link you posted, one is rsreportserver.config the other is msmdsrv.ini. The ExternalCommandTimeout setting is stored in the msmdsrv.ini file (although when I checked my local May 2019 instance it was already set to 86400 seconds which is 24 hours) it is normally defaulted to 3600 for standalone SSAS instances&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 22:58:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759637#M11200</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-08-06T22:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759817#M11207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, the msmdsrv.ini containing this setting is there, but it is explicitely stated to NOT change this file but the other one that doesn`t contain the setting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But: I just tried to add the &amp;lt;ExternalCommandTimeout&amp;gt; to the "outer" msmdsrv.ini (it´s not there initially, this is why i assumed that i cannot set it there) and set it to desired value, and on restart my changed setting also appears in the "inner" (rewritten on start of service) file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now i just have to see if this does any good...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 05:10:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759817#M11207</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T05:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759824#M11208</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, the msmdsrv.ini containing this setting is there, but it is explicitely stated to NOT change this file but the other one that doesn`t contain the setting:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But: I just tried to add the &amp;lt;ExternalCommandTimeout&amp;gt; to the "outer" msmdsrv.ini (it´s not there initially, this is why i assumed that i cannot set it there) and set it to desired value, and on restart my changed setting also appears in the "inner" (rewritten on start of service) file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So now i just have to see if this does any good...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I definitely was not talking about changing the "inner" Workspace file. As stated in the docs that gets overwritten each time the service restarts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My "outer" file already has "&amp;lt;ExternalCommandTimeout&amp;gt;" so I'm not sure why your's does not. But copying this setting to the "outer" file should work fine as long as it appears under the correct parent element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The fact that this setting was missing in your environment would explain why you were seeing the default value of 3600 seconds being applied.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 05:18:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759824#M11208</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-08-07T05:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759847#M11209</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="109790" data-lia-user-login="d_gosbell" class="lia-mention lia-mention-user"&gt;d_gosbell&lt;/a&gt;&amp;nbsp;wrote:&lt;P class="1565156130841"&gt;...&lt;/P&gt;&lt;SPAN&gt;I definitely was not talking about changing the "inner" Workspace file. As stated in the docs that gets overwritten each time the service restarts.&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My "outer" file already has "&amp;lt;ExternalCommandTimeout&amp;gt;" so I'm not sure why your's does not. But copying this setting to the "outer" file should work fine as long as it appears under the correct parent element.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm, maybe thats a matter of PBIRS version - i have March 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But apart from the question which file to change (which we have sorted out nicely by now ;-) ) - do you think that this setting is indeed responsible for the timeout i´m seeing, or would you suggest looking into something else? (I cannot reproduce the behaviour "at will", so can´t just try it out...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 05:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759847#M11209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T05:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout at Microsoft.AnalysisServices.Tabular.Model.SaveChanges(SaveOptions saveOptions)</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759863#M11210</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Anonymous&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hmm, maybe thats a matter of PBIRS version - i have March 2018.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;yes, that could explain it. I'm on May 2019&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;SPAN&gt;But apart from the question which file to change (which we have sorted out nicely by now ;-) ) - do you think that this setting is indeed responsible for the timeout i´m seeing, or would you suggest looking into something else? (I cannot reproduce the behaviour "at will", so can´t just try it out...)&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I believe so. This is main timeout setting that we would typically edit on SSAS when working with very large or slow data sources that ran for more than an hour on a single table.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 05:57:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Timeout-at-Microsoft-AnalysisServices-Tabular-Model-SaveChanges/m-p/759863#M11210</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2019-08-07T05:57:00Z</dc:date>
    </item>
  </channel>
</rss>

