Problem Version 6: ORA-12154: TNS:could not resolve service name
Posted: Thu 29 Mar 2007 09:17
Hello,
I just installed ODAC 6 on my computer and ran into the following problem: Whenever the OraSession object tries to connect to the database the error "ORA-12154: TNS:could not resolve service name" occurs. The error occurs both inside the IDE and after compiling and starting the program (Compilations with ODAC 5 work fine). Connecting to a DB locally is working.
ODAC Version: 6.00.0.4 for Delphi 2006
OCI: Version 8.1.7.0.0 (not loaded)
DLL: D:\oracle\ora81\BIN\oci.dll
Home [OraHome81]: D:\oracle\ora81
Default Home [OraHome81]: D:\oracle\ora81
Current Home: D:\oracle\ora81
Please help!
bij
I just installed ODAC 6 on my computer and ran into the following problem: Whenever the OraSession object tries to connect to the database the error "ORA-12154: TNS:could not resolve service name" occurs. The error occurs both inside the IDE and after compiling and starting the program (Compilations with ODAC 5 work fine). Connecting to a DB locally is working.
ODAC Version: 6.00.0.4 for Delphi 2006
OCI: Version 8.1.7.0.0 (not loaded)
DLL: D:\oracle\ora81\BIN\oci.dll
Home [OraHome81]: D:\oracle\ora81
Default Home [OraHome81]: D:\oracle\ora81
Current Home: D:\oracle\ora81
Please help!
bij