Forum Discussion

Jasleen_kaur's avatar
Jasleen_kaur
Frequent Visitor
2 years ago

Error with Data Refresh and Gateway Configuration After Publishing PBIX File to Power BI Service

I am encountering an issue with my Power BI dataset refresh and gateway configuration after publishing my PBIX file to the Power BI service. Here are the details of the error I'm facing:
Last refresh failed: 4/4/2024, 2:03:12 PM
There was an error when processing the data in the dataset.Hide details
Data source error: [ValidateMarkupTags][ccon]DataSource.MissingClientLibrary: [ccon]We were unable to find a database provider with invariant name 'MySql.Data.MySqlClient'.[/ccon]. DataSourceKind = [ccon]MySql[/ccon]. DataSourcePath = [ccon]localhost;wesee_prod[/ccon]. [/ccon]. The exception was raised by the IDbCommand interface. Table: wesee_prod tweets_posts_trends.
Cluster URI: WABI-INDIA-CENTRAL-A-PRIMARY-redirect.analysis.windows.net
Activity ID: 775cf467-dec2-4bb0-8d4e-917dba5c010f
Request ID: 84c46ac5-6883-8085-fbcc-c76f4cac16ff
Time: 2024-04-04 08:33:12Z


Issue Details:

  • The error message indicates a problem with the data source, specifically with the MySql.Data.MySqlClient provider.
  • The dataset is sourced from a MySQL database located at localhost;wesee_prod.
  • The dataset includes a table named wesee_prod tweets_posts_trends.
  • The error occurs during the data refresh process after publishing the PBIX file to the Power BI service.

Additional Context:

  • I have installed the Power BI Gateway on my server to facilitate data refresh from on-premises data sources.
  • Upon publishing the PBIX file to the Power BI service, the refresh schedule and gateway appear to be disabled.
  • The semantic model is stored in the cloud, but the backend data source is a MySQL database hosted locally.

Request for Assistance:

  1. How can I resolve the missing client library issue related to the MySql.Data.MySqlClient provider?
  2. How can I ensure that the refresh schedule and gateway remain enabled after publishing the PBIX file to the Power BI service?
  3. Is there a way to maintain the semantic model in the cloud while still connecting to on-premises MySQL data sources?

Any insights or guidance on resolving these issues would be greatly appreciated.

 

#refresh #datagatewayproblem #powerbi

15 Replies