PowerBI connecting with Oracle-DB: ORA-12154











up vote
0
down vote

favorite












I am trying to connect PowerBI with Oracle-DB with no success.




  • First: when I open PowerBI and try to connect the Oracle Database on Get Data Icon, I get the following error:


enter image description here




  • Second: I click ok and try to set the connection mannualy:


enter image description here



But in the end I get the ORA-12145: TNS:could not resolve the connect identifier specified error:



enter image description here



I don't know what's happening since my Oracle version is the most recent one (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production):



enter image description here



Also, my PowerBI Desktop version is Version: 2.63.3272.40262 64-bit (October 2018)



I've already set up the tsnames.ora and listener.ora files, but nothing helped.



Do you have an idea how to figure that out?










share|improve this question


















  • 1




    Can you tnsping the database? Can you connect using SQLPlus?
    – Bob Jarvis
    Nov 8 at 23:08










  • Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
    – Petter_Mendes
    Nov 9 at 12:25

















up vote
0
down vote

favorite












I am trying to connect PowerBI with Oracle-DB with no success.




  • First: when I open PowerBI and try to connect the Oracle Database on Get Data Icon, I get the following error:


enter image description here




  • Second: I click ok and try to set the connection mannualy:


enter image description here



But in the end I get the ORA-12145: TNS:could not resolve the connect identifier specified error:



enter image description here



I don't know what's happening since my Oracle version is the most recent one (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production):



enter image description here



Also, my PowerBI Desktop version is Version: 2.63.3272.40262 64-bit (October 2018)



I've already set up the tsnames.ora and listener.ora files, but nothing helped.



Do you have an idea how to figure that out?










share|improve this question


















  • 1




    Can you tnsping the database? Can you connect using SQLPlus?
    – Bob Jarvis
    Nov 8 at 23:08










  • Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
    – Petter_Mendes
    Nov 9 at 12:25















up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am trying to connect PowerBI with Oracle-DB with no success.




  • First: when I open PowerBI and try to connect the Oracle Database on Get Data Icon, I get the following error:


enter image description here




  • Second: I click ok and try to set the connection mannualy:


enter image description here



But in the end I get the ORA-12145: TNS:could not resolve the connect identifier specified error:



enter image description here



I don't know what's happening since my Oracle version is the most recent one (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production):



enter image description here



Also, my PowerBI Desktop version is Version: 2.63.3272.40262 64-bit (October 2018)



I've already set up the tsnames.ora and listener.ora files, but nothing helped.



Do you have an idea how to figure that out?










share|improve this question













I am trying to connect PowerBI with Oracle-DB with no success.




  • First: when I open PowerBI and try to connect the Oracle Database on Get Data Icon, I get the following error:


enter image description here




  • Second: I click ok and try to set the connection mannualy:


enter image description here



But in the end I get the ORA-12145: TNS:could not resolve the connect identifier specified error:



enter image description here



I don't know what's happening since my Oracle version is the most recent one (Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production):



enter image description here



Also, my PowerBI Desktop version is Version: 2.63.3272.40262 64-bit (October 2018)



I've already set up the tsnames.ora and listener.ora files, but nothing helped.



Do you have an idea how to figure that out?







oracle powerbi powerbi-datasource ora-12154






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 8 at 22:04









Petter_Mendes

801310




801310








  • 1




    Can you tnsping the database? Can you connect using SQLPlus?
    – Bob Jarvis
    Nov 8 at 23:08










  • Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
    – Petter_Mendes
    Nov 9 at 12:25
















  • 1




    Can you tnsping the database? Can you connect using SQLPlus?
    – Bob Jarvis
    Nov 8 at 23:08










  • Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
    – Petter_Mendes
    Nov 9 at 12:25










1




1




Can you tnsping the database? Can you connect using SQLPlus?
– Bob Jarvis
Nov 8 at 23:08




Can you tnsping the database? Can you connect using SQLPlus?
– Bob Jarvis
Nov 8 at 23:08












Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
– Petter_Mendes
Nov 9 at 12:25






Yes. the tnsping works to connect, but I don't know why PowerBI does not connect.
– Petter_Mendes
Nov 9 at 12:25














1 Answer
1






active

oldest

votes

















up vote
0
down vote













"Power BI" covers a lot of different components. I presume/guess you mean Power BI Desktop?



Your Oracle Database version is not that relevant. The important piece you are probably missing is the drivers, in this case the Oracle Data Access Client (ODAC) drivers. Here's the page in the manual you should read:



https://docs.microsoft.com/en-us/power-bi/desktop-connect-oracle-database






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53216844%2fpowerbi-connecting-with-oracle-db-ora-12154%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    "Power BI" covers a lot of different components. I presume/guess you mean Power BI Desktop?



    Your Oracle Database version is not that relevant. The important piece you are probably missing is the drivers, in this case the Oracle Data Access Client (ODAC) drivers. Here's the page in the manual you should read:



    https://docs.microsoft.com/en-us/power-bi/desktop-connect-oracle-database






    share|improve this answer

























      up vote
      0
      down vote













      "Power BI" covers a lot of different components. I presume/guess you mean Power BI Desktop?



      Your Oracle Database version is not that relevant. The important piece you are probably missing is the drivers, in this case the Oracle Data Access Client (ODAC) drivers. Here's the page in the manual you should read:



      https://docs.microsoft.com/en-us/power-bi/desktop-connect-oracle-database






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        "Power BI" covers a lot of different components. I presume/guess you mean Power BI Desktop?



        Your Oracle Database version is not that relevant. The important piece you are probably missing is the drivers, in this case the Oracle Data Access Client (ODAC) drivers. Here's the page in the manual you should read:



        https://docs.microsoft.com/en-us/power-bi/desktop-connect-oracle-database






        share|improve this answer












        "Power BI" covers a lot of different components. I presume/guess you mean Power BI Desktop?



        Your Oracle Database version is not that relevant. The important piece you are probably missing is the drivers, in this case the Oracle Data Access Client (ODAC) drivers. Here's the page in the manual you should read:



        https://docs.microsoft.com/en-us/power-bi/desktop-connect-oracle-database







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 10 at 3:08









        Mike Honey

        11.3k11328




        11.3k11328






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53216844%2fpowerbi-connecting-with-oracle-db-ora-12154%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            Hercules Kyvelos

            Tangent Lines Diagram Along Smooth Curve

            Yusuf al-Mu'taman ibn Hud