Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
anhngv
Helper III
Helper III

DataFormat.Error when refreshing Access database in PBI Service

I have read some thread about this error they either long ago or have not solved or too complicated. So I decide to create this post and hope there is someone who can help me out.

Let's go with a very simple case.
- I have a very simple table created in Access db (I'm using Microsoft® Access® 2019 MSO (Version 2202 Build 16.0.14931.20128) 64-bit):

anhngv_0-1648565434960.png

- I have input the data table to PowerBI desktop (Version: 2.103.881.0 64-bit (March 2022) which only includes that simple table. And this data table can be easily refreshed in PBI desktop:

anhngv_1-1648565602125.png

- I have successfully uploaded PBI file to service as well as setup connection/data source:

anhngv_2-1648565795019.png

- I'm using the latest version of On-premises data gateway as well:

anhngv_3-1648565913298.png

-> But it fails to refresh the file data source in PBI service. The error shows as below:

Underlying error code: -2147467259
Underlying error message: Unspecified error
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.Detail: test.accdb
Microsoft.Data.Mashup.ValueError.Reason: DataFormat.Error
Cluster URI: WABI-SOUTH-EAST-ASIA-redirect.analysis.windows.net
Activity ID: 592be7c6-acbe-4269-a854-2611dbf7fca1
Request ID: 479bb469-9d25-d07a-ec1f-bfa1b45325d5
Time: 2022-03-29 14:23:38Z

 

I'm looking to hearing your advice. Hope it's simple enough to follow.

Thanks

1 ACCEPTED SOLUTION
anhngv
Helper III
Helper III

ok, atlast I solved this annoying error, and this is why and how:

- PBI desktop is OK to refresh access files, so nothing wrong with the database itself

- PBI service cannot refresh the database though all settings are OK -> there is something wrong with the connection

- While I check the connection - On premises data gateway - I found this https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-local-drive. And I see one of the data source that the gateway supports is ODBC

- Then I try Microsoft Access Database Engine at https://www.microsoft.com/en-us/download/details.aspx?id=54920

- Then atlast it works!

View solution in original post

3 REPLIES 3
anhngv
Helper III
Helper III

ok, atlast I solved this annoying error, and this is why and how:

- PBI desktop is OK to refresh access files, so nothing wrong with the database itself

- PBI service cannot refresh the database though all settings are OK -> there is something wrong with the connection

- While I check the connection - On premises data gateway - I found this https://docs.microsoft.com/en-us/power-bi/connect-data/refresh-desktop-file-local-drive. And I see one of the data source that the gateway supports is ODBC

- Then I try Microsoft Access Database Engine at https://www.microsoft.com/en-us/download/details.aspx?id=54920

- Then atlast it works!

GilbertQ
Super User
Super User

Hi @anhngv 

 

Can you please confirm that you have got the 64bit access drivers installed?

 

https://support.office.com/en-us/article/download-and-install-office-365-access-runtime-185c5a32-8ba...





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I have installed Microsoft 365 Access Runtime x64 and restarted my computer, but there's still be the error.

Updated: After installing the program, I can't even open an Access file, then I have to remove it

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors