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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
vadlamudibi
Helper I
Helper I

PowerBI desktop 64Bit oracle connection error Object reference not set to an instance of an object

Hello,

 

When i tried to connect Oracle DB through Power BI i am getting below error.

installed 64-bit ODAC 12c Release 4 (12.1.0.2.4) for Windows x64 into my machine

using latest Power BI Desktop version

 

Capture.JPG

 

 

Best

Venu

2 ACCEPTED SOLUTIONS
v-yuta-msft
Community Support
Community Support

@vadlamudibi ,

 

If you downloaded Power BI Desktop from the Microsoft Store, you might be unable to connect to Oracle databases because of an Oracle driver issue. If you encounter this issue, the error message returned is "Object reference not set". To address the issue, do one of the following:

  • Download Power BI Desktop from https://powerbi.microsoft.com/desktop instead.

  • If you want to use the version from the Microsoft Store: on your local computer, copy oraons.dll from 12.X.X\client_X into 12.X.X\client_X\bin. The X represents version and directory numbers.

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hello,

i did follow the below steps and it worked and able to login.

 

  • Download Power BI Desktop from https://powerbi.microsoft.com/desktop instead.

  • If you want to use the version from the Microsoft Store: on your local computer, copy oraons.dll from 12.X.X\client_X into 12.X.X\client_X\bin. The X represents version and directory numbers.

Thanks

Vadlamudi

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Copying oraons.dll from client_X to client_X/bin worked for me !. 

Thanks alot!

v-yuta-msft
Community Support
Community Support

@vadlamudibi ,

 

Have you solved your issue by now? If you have, could you please help mark the correct answer to finish the thread? Your contribution will be much appreciated.

 

Regards,

Jimmy Tao

Hello,

i did follow the below steps and it worked and able to login.

 

  • Download Power BI Desktop from https://powerbi.microsoft.com/desktop instead.

  • If you want to use the version from the Microsoft Store: on your local computer, copy oraons.dll from 12.X.X\client_X into 12.X.X\client_X\bin. The X represents version and directory numbers.

Thanks

Vadlamudi

v-yuta-msft
Community Support
Community Support

@vadlamudibi ,

 

If you downloaded Power BI Desktop from the Microsoft Store, you might be unable to connect to Oracle databases because of an Oracle driver issue. If you encounter this issue, the error message returned is "Object reference not set". To address the issue, do one of the following:

  • Download Power BI Desktop from https://powerbi.microsoft.com/desktop instead.

  • If you want to use the version from the Microsoft Store: on your local computer, copy oraons.dll from 12.X.X\client_X into 12.X.X\client_X\bin. The X represents version and directory numbers.

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

thanks, I have been searching days for this annoying error!!!

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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