Discussion Board for collaboration on QlikView Scripting.
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" )
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
View solution in original post
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
BTW how can you see that the connection is succesful if the only test the ODBC driver provides (Test Connection) ... fails?
Kindly check to see if the TNSNames.ora file is configured
Ensure the HOST, PORT & SID is configured properly
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(SERVER = DEDICATED)
(SID = orcl.star.cd)
Thanks Ashfaq, It worked