Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
amithmurali
Partner - Creator II
Partner - Creator II

Oracle 9i Database Connection Problem. ODBC Connection failed.

Hi guys,

I am having a problem in connecting to Oracle DB 9i.

when i create an ODBC connection, i can see that the connection is successful. but when i try to connect it in the QV i am getting the following error.


Connection Test Failed

SQL##f - SqlState: 08004, ErrorCode: 12154, ErrorMsg: [Oracle][ODBC][Ora]ORA-12154: TNS:could not resolve service name

i am using QV desktop SR12.

DB is Oracle 9i 32bit.( i marked "force 32bit" )

1 Solution

Accepted Solutions
ashfaq_haseeb
Champion III
Champion III

Hi,

Can you try by downloading Qlik odbc connector launch recently by qlik.

That will enable you to connect with many such databases, Like PostgreSQL, MYSQL, Oracle, DB2 e.t.c without the need to install client.

Go to download page for the same.

Check below link

https://community.qlik.com/blogs/supportupdates/2015/06/30/connectivity-new-sfdc-and-odbc-connectors

Regards

ASHFAQ

View solution in original post

5 Replies
Peter_Cammaert
Partner - Champion III
Partner - Champion III

This isn't a QlikView error, as it is happening in the ODBC driver.

Check some tips about solving this omnipresent Oracle problem here: ORA-12154: TNS tips

Peter

Peter_Cammaert
Partner - Champion III
Partner - Champion III

BTW how can you see that the connection is succesful if the only test the ODBC driver provides (Test Connection)  ... fails?

svenkita
Creator II
Creator II

Kindly check to see if the TNSNames.ora file is configured

Ensure the HOST, PORT & SID is configured properly

ORCL =

  (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

    (CONNECT_DATA =

      (SERVER = DEDICATED)

      (SID = orcl.star.cd)

    )

  )

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you try by downloading Qlik odbc connector launch recently by qlik.

That will enable you to connect with many such databases, Like PostgreSQL, MYSQL, Oracle, DB2 e.t.c without the need to install client.

Go to download page for the same.

Check below link

https://community.qlik.com/blogs/supportupdates/2015/06/30/connectivity-new-sfdc-and-odbc-connectors

Regards

ASHFAQ

amithmurali
Partner - Creator II
Partner - Creator II
Author

Thanks Ashfaq, It worked