web connector
4 TopicsWeb page as datasource automatic refresh error The module named 'Html' has been disabled...
Hi, PBIRS problem: 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: Data source error: Login failed for data source ‘Unknown’. When clicking the [i] after error message, the following is shown: 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. from RSPowerBI_<>.log file: 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.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0() at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>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.<>c__DisplayClass34_0.<ExecuteActionWithLogging>b__0() at Microsoft.PowerBI.ReportServer.WebHost.EventHandler.DataRefreshScope.<ExecuteFuncWithLogging>d__33`1.MoveNext() M Query code in use: 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"] <> "Total:")) in #"Filtered Rows" PBIRS version: Version1.15.8300.38452(September 2022) Also happening in version: Version1.13.8054.40631(January 2022) All other datasources in use (like ODBC, Oracle, SSAS) are working as expected. Is the functionality disabled in some config files? A bug in PBIRS? Best regards, SörenSolved4.5KViews0likes5CommentsWeb Connection : Error while creating data refresh schedule job
Hi , I am facing error while scheduling a data refesh job for web connection in PBI report server. The data refresh task works with out any errors in Power bi desktop however i get following error when i schedule data refresh job. -1055784932: The import Html.Table matches no exports. Did you miss a module reference?. The exception was raised by the IDbCommand interface. web connection I am using in Power querry is as follow let Source = Web.BrowserContents("https://www.upstreamonline.com/tag/news"), #"Extracted Table From Html" = Html.Table(Source, {{"Column1", ".row:nth-last-child(5):nth-child(1) > .col-12 > DIV.card.teaser.teaser-type-medium.mb-3.border-top.pt-2.flex-grow-1:nth-child(1):nth-last-child(1) > DIV.card-body:nth-child(1):nth-last-child(1) > .teaser-body"}, {"Column2", ".teaser-body-image > A:nth-child(1):nth-last-child(1)", each [Attributes][href]?}}, [RowSelector=".row:nth-last-child(5):nth-child(1) > .col-12 > DIV.card.teaser.teaser-type-medium.mb-3.border-top.pt-2.flex-grow-1:nth-child(1):nth-last-child(1) > DIV.card-body:nth-child(1):nth-last-child(1) > .teaser-body"]), #"Changed Type" = Table.TransformColumnTypes(#"Extracted Table From Html",{{"Column1", type text}, {"Column2", type text}}) in #"Changed Type" Any help in resolving this issue or workaround is appricated, Also let me know if any further details are required. Regards, Tushar807Views0likes1CommentRefresh on Report server with Web/JSON connection using REST and api token
Hi All, I am using a JSON web connection to bring in REST api data from Pipedrive, this works well on the desktop app but when I publish to the Report server the connection string only reflects the first part of the URL and not the parameters or token that I am using. Full URL: https://XXXX.pipedrive.com/v1/deals?limit=2000&status=all_not_deleted&start=0&api_token=XXXXXXX Is there any way to get around this to allow for scheduled refreshes on the Report server? Thanks!700Views0likes0CommentsMissing credentials after publishing and Web Connector not authenticating in PBI Report Server
Hi PBIers, I could really use your support in a problem I am facing. I have a dashboard that uses the Web Connector to access a XML file exposed via a webservice (a Workday report exposed as a webservice). Basic Authentication is used and the data can be accessed and refreshed in PBI Desktop perfectly. However, when I publish the dashboard to PBI Report Server and want to schedule refreshes I am unable to. I go to view the associated embedded Data Source for the dashboard in report server I notice a few things: The connection string only contains the URL without any parameters (everything from the "?" onwards has been removed). Under "Credentials" the authentication type now shows "Anonymous" rather than the "Basic Authentication" I entered in PBI Desktop. Even when I change the authentication to "Basic Authentication" and enter the correct credentials (yes I've triple checked they are correct) I receive an error stating "Unable to connect to the remote server". It is also worth noting that for diagnostic purposes I have tried creating an separate Data Source in PBI Report Server using the URL (the truncated version) with the Base Authentication credentials that has sucessfully connected upon testing. Things I have attempted are: In PBI Desktop, using anonymous authentication and passing the credentials either at the start of the url (e.g. https://username:[email protected]) or in the query editor as Web.Contents("https://example.com?q=1",[Headers=[#"Authorization"="Basic EncodedCredsHere"]]). The web page seems to be fine with the former if I type it into a browser, but PBI Desktop says that it can't authenticate with the (Anonymous) credentials provided. The Workday report exposed as a service is available in JSON, CSV, XML and a few other formats. I have tried accessing all formats using the Web Connector with the same results. I am now considering investigating exporting the reports as Excel documents somewhere to be accessed by PBI Report Server in some other way, but this seems like an unnecessary maintenance and complexity for something that should be a pretty standard use case for PBI Report Server. Any support, advice or assistance would be highly appreicated. Please, before I pull all of my hair out :)1.7KViews0likes0Comments