Forum Discussion

vadlamudibi's avatar
vadlamudibi
Helper I
7 years ago
Solved

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

 

 

 

Best

Venu

  • 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.

  • vadlamudibi's avatar
    vadlamudibi
    7 years ago

    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

5 Replies

  • v-yuta-msft's avatar
    v-yuta-msft
    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's avatar
      Anonymous
      Not applicable

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

  • v-yuta-msft's avatar
    v-yuta-msft
    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

    • vadlamudibi's avatar
      vadlamudibi
      Helper I

      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

  • Anonymous's avatar
    Anonymous
    Not applicable

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

    Thanks alot!