<?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: Web page as datasource automatic refresh error The module named 'Html' has been disabled... in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3579776#M32037</link>
    <description>&lt;P&gt;Here is an actual solution to this issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Power BI Desktop.&amp;nbsp; Use that to make the initial connection to the WEB data you are trying to refresh.&lt;/P&gt;&lt;P&gt;Once you have a usable table of the data you are trying to use, copy that query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Power BI Report Server version and paste the query into the RS version.&lt;/P&gt;&lt;P&gt;Go into Advanced Editor and make these changes.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Change&amp;nbsp; Web.BrowserContents&amp;nbsp; to&amp;nbsp; Web.Contents&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;If you are replacing an existing web connection, adjust the following step to be&amp;nbsp;#"Extracted Table From Html" instead of what is currently says.&lt;/P&gt;&lt;P&gt;You will now have a refreshable version of the WEB connection.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Dec 2023 13:13:30 GMT</pubDate>
    <dc:creator>pabeader</dc:creator>
    <dc:date>2023-12-12T13:13:30Z</dc:date>
    <item>
      <title>Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2866745#M27236</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PBIRS problem:&lt;/P&gt;&lt;P&gt;User wanted to use a web page as source for their report. Web page do not require any authentication. Desktop working fine and reloads the data. Report server's automatic data refresh throws the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data source error: Login failed for data source ‘Unknown’.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When clicking the [i] after error message, the following is shown:&lt;/P&gt;&lt;PRE&gt;essionID: 3ed14127-ea01-441f-a849-ca66d74c4755
[0] -1055784932: Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;from RSPowerBI_&amp;lt;&amp;gt;.log file:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-10-27 08:49:01.0640|ERROR|96|Error Processing Data Model Refresh: SessionId: 3ed14127-ea01-441f-a849-ca66d74c4755, Status: Error Failed to refresh the model, Exception Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface.
'.
at Microsoft.AnalysisServices.Tabular.Model.SaveChangesImpl(SaveOptions options)
at Microsoft.PowerBI.ReportServer.AsServer.TOMWrapper.RefreshModel(Database database)
at Microsoft.PowerBI.ReportServer.AsServer.AnalysisServicesServer.RefreshDatabase(String databaseName, IEnumerable`1 dataSources, IEnumerable`1 parameters, String clientSessionId)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshDatabase(AsDatabaseInfo asDatabaseInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;&amp;gt;c__DisplayClass34_0.&amp;lt;ExecuteActionWithLogging&amp;gt;b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;ExecuteFuncWithLogging&amp;gt;d__33`1.MoveNext()
2022-10-27 08:49:01.1161|ERROR|96|Error Processing Data Model Refresh: SessionId: 3ed14127-ea01-441f-a849-ca66d74c4755, Status: Error Failed Data Refresh, Exception Microsoft.AnalysisServices.OperationException: Failed to save modifications to the server. Error returned: 'Expression.Error: The module named 'Html' has been disabled in this context.. . The exception was raised by the IDbCommand interface.
'.
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.ExecuteActionWithLogging(Action methodToExecute, String description, String localizedDescription, String messageInFailure, RefreshInfo refreshInfo, DataAccessors dataAccessors, ReportEventType operation, Boolean isDataRetrieval, Boolean showInExecutionLog, Boolean sendToTelemetry)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.AnalysisServicesDataRefresh.RefreshData(RefreshInfo refreshInfo)
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;&amp;gt;c__DisplayClass34_0.&amp;lt;ExecuteActionWithLogging&amp;gt;b__0()
at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.&amp;lt;ExecuteFuncWithLogging&amp;gt;d__33`1.MoveNext()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;M Query code in use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let
    Source = Web.Page(Web.Contents("https://www.worldometers.info/coronavirus/")),
    Data2 = Source{2}[Data],
    #"Changed Type" = Table.TransformColumnTypes(Data2,{{"#", Int64.Type}, {"Country, Other", type text}, {"Total Cases", type text}, {"New Cases", type number}, {"Total Deaths", type text}, {"New Deaths", type number}, {"Total Recovered", type text}, {"New Recovered", type text}, {"Active Cases", type text}, {"Serious, Critical", type number}, {"Tot Cases/ 1M pop", type number}, {"Deaths/ 1M pop", type text}, {"Total Tests", type text}, {"Tests/ #(lf)1M pop", type text}, {"Population", type text}}),
    #"Filtered Rows" = Table.SelectRows(#"Changed Type", each ([#"Country, Other"] &amp;lt;&amp;gt; "Total:"))
in
    #"Filtered Rows"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PBIRS version:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version&lt;/SPAN&gt;&lt;SPAN&gt;1.15.8300.38452&lt;/SPAN&gt;&lt;SPAN&gt;(September 2022)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Also happening in version:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Version1.13.8054.40631(January 2022)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All other datasources in use (like ODBC, Oracle, SSAS) are working as expected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is the functionality disabled in some config files? A bug in PBIRS?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sören&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 06:01:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2866745#M27236</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2022-10-27T06:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2874345#M27301</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="129912" data-lia-user-login="SorenHElisa" class="lia-mention lia-mention-user"&gt;SorenHElisa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Power BI Report Server has a limitation when using web data: only data files from web can be refreshed. Data based on Page or By example aren't refreshable. This limitation is because the M expressions created with Web.BrowserContents and Web.Page can't be refreshed. Power BI Report Server can only refresh Web.Contents data sources.&lt;/P&gt;
&lt;P&gt;For more details, you can read below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/report-server/data-sources" target="_blank"&gt;Power BI report data sources in Power BI Report Server - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Henry&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 09:44:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2874345#M27301</guid>
      <dc:creator>v-henryk-mstf</dc:creator>
      <dc:date>2022-10-31T09:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2876262#M27317</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks Henry for pointing out this. I had completely missed the footnote regarding restrictions on web content.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Sören&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note to self: never skip footnotes, although they seem not to concern the actual problem.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 06:29:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/2876262#M27317</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2022-11-01T06:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3579776#M32037</link>
      <description>&lt;P&gt;Here is an actual solution to this issue.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Power BI Desktop.&amp;nbsp; Use that to make the initial connection to the WEB data you are trying to refresh.&lt;/P&gt;&lt;P&gt;Once you have a usable table of the data you are trying to use, copy that query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Power BI Report Server version and paste the query into the RS version.&lt;/P&gt;&lt;P&gt;Go into Advanced Editor and make these changes.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Change&amp;nbsp; Web.BrowserContents&amp;nbsp; to&amp;nbsp; Web.Contents&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;If you are replacing an existing web connection, adjust the following step to be&amp;nbsp;#"Extracted Table From Html" instead of what is currently says.&lt;/P&gt;&lt;P&gt;You will now have a refreshable version of the WEB connection.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 13:13:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3579776#M32037</guid>
      <dc:creator>pabeader</dc:creator>
      <dc:date>2023-12-12T13:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3579887#M32043</link>
      <description>&lt;P&gt;Thank you for you comment, but I can't see how this is any different from developing in PBIRS version directly. It will use the Web.Contents -function in PBIRS Desktop also when developing from scratch and the exact same code after that. It's not Power BI Desktop for RS that is having problems, it's the server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sören&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 14:12:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3579887#M32043</guid>
      <dc:creator>SorenHElisa</dc:creator>
      <dc:date>2023-12-12T14:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: Web page as datasource automatic refresh error The module named 'Html' has been disabled...</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3589395#M32104</link>
      <description>&lt;P&gt;It's not the server.&amp;nbsp; It's Microsofts decision to disable the HTML driver.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you try it you will see that&amp;nbsp;&lt;SPAN&gt;PBIRS and PBI create different M code for the WEB connection.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The one in PBI is close and only needs a few tweaks to be made useable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My workaround allows you to still update your WEB based data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Dec 2023 16:14:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Web-page-as-datasource-automatic-refresh-error-The-module-named/m-p/3589395#M32104</guid>
      <dc:creator>pabeader</dc:creator>
      <dc:date>2023-12-18T16:14:43Z</dc:date>
    </item>
  </channel>
</rss>

