ORA-12154:TNS:could not resolve service name
Posted: Thu 17 May 2007 17:45
I'm still trying to get ODAC working with Delphi 6. I was using the Oracle 8.1 client and was getting a data type not supported error. So on your recomendation, I upgraded to the 9.2 client. I can connect to my database(s) using SQL*Developer...but when I try to connect from within Delphi 6 using your OraSesson component I get the ORA-12154:TNS:could not resolve service name error.
I've made sure the tnsnames.ora file is in the \Oracle\ora92\network\ADMIN directory and that it works fine with SQL*Developer.
I un-installed the Oracle 8.1 client to make sure that your components wouldn't get confused with it on my system...under 8.1 I could access the database but got the data type error...under 9.2 I can't access the database!
What am I missing?
Thanks in advance for all of your help!
Jim Walker
RedEnvelope, Inc.
I've made sure the tnsnames.ora file is in the \Oracle\ora92\network\ADMIN directory and that it works fine with SQL*Developer.
I un-installed the Oracle 8.1 client to make sure that your components wouldn't get confused with it on my system...under 8.1 I could access the database but got the data type error...under 9.2 I can't access the database!
What am I missing?
Thanks in advance for all of your help!
Jim Walker
RedEnvelope, Inc.