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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.