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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
remyc
Regular Visitor

DataSource.Error: An error happened while reading data from the provider

Hello everyone, 

 

When I try to refresh my queries on the PowerQuery editor and with Oracle as the source, I get this problem:

DataSource.Error: An error happened while reading data from the provider:'Object reference not set to an instance of an object.'
Details:
DataSourceKind=Oracle
DataSourcePath=tdmpsb02

My connection to Oracle is working fine and I don't know why I can't refresh it without causing problems.

I have tried reinstalling my Oracle, PowerBI, I have the 64-bit version on both systems.

I also try this solution:

  1. Locate and copy the oraons.dll file in ‘<>product\12.2.0\client_1’ on your oracle install path

  2. Paste the file into the ‘<>product\12.2.0\client_1\bin directory

Thank you for your help 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @remyc - Verify that the correct version of Oracle Data Access Client (ODAC) or Oracle Instant Client is installed. Both Oracle and Power BI should be 64-bit versions, which you've already confirmed.
If you reinstalled Oracle, ensure that the PATH environment variable includes the path to the bin directory of your Oracle installation (for example, C:\Oracle\product\12.2.0\client_1\bin).

Verify that the correct version of Oracle Data Access Client (ODAC) or Oracle Instant Client is installed. Both Oracle and Power BI should be 64-bit versions, which you've already confirmed.
If you reinstalled Oracle, ensure that the PATH environment variable includes the path to the bin directory of your Oracle installation (for example, C:\Oracle\product\12.2.0\client_1\bin).

checking logs from both Oracle and Power BI might give more detailed insight into the root cause.

 

reference solved threads FYR:

Solved: PowerBI desktop 64Bit oracle connection error Obj... - Microsoft Fabric Community

Solved: Oracle: Object reference not set to an instance of... - Microsoft Fabric Community

Solved: Re: PowerBI desktop 64Bit oracle connection error ... - Microsoft Fabric Community

Object reference not set to an instance of an obje... - Microsoft Fabric Community

Solved: Re: Oracle: Object reference not set to an instanc... - Microsoft Fabric Community

 

Hope the above information helps.





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

Proud to be a Super User!





View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @remyc 

 

Did rajendraongole1 's method solve your problem? If yes, could you please mark it as solution? This will help more users who are facing the same or similar difficulties. Thank you!

 

If you still have questions, please feel free to ask me.

 

Best Regards,
Yulia Xu

rajendraongole1
Super User
Super User

Hi @remyc - Verify that the correct version of Oracle Data Access Client (ODAC) or Oracle Instant Client is installed. Both Oracle and Power BI should be 64-bit versions, which you've already confirmed.
If you reinstalled Oracle, ensure that the PATH environment variable includes the path to the bin directory of your Oracle installation (for example, C:\Oracle\product\12.2.0\client_1\bin).

Verify that the correct version of Oracle Data Access Client (ODAC) or Oracle Instant Client is installed. Both Oracle and Power BI should be 64-bit versions, which you've already confirmed.
If you reinstalled Oracle, ensure that the PATH environment variable includes the path to the bin directory of your Oracle installation (for example, C:\Oracle\product\12.2.0\client_1\bin).

checking logs from both Oracle and Power BI might give more detailed insight into the root cause.

 

reference solved threads FYR:

Solved: PowerBI desktop 64Bit oracle connection error Obj... - Microsoft Fabric Community

Solved: Oracle: Object reference not set to an instance of... - Microsoft Fabric Community

Solved: Re: PowerBI desktop 64Bit oracle connection error ... - Microsoft Fabric Community

Object reference not set to an instance of an obje... - Microsoft Fabric Community

Solved: Re: Oracle: Object reference not set to an instanc... - Microsoft Fabric Community

 

Hope the above information helps.





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

Proud to be a Super User!





Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors