here is my problem: I have a C # program that uses oDP.NET dll dll: oci.dll, ociw32.dll, Oracle.DataAccess.dll, orannzsbb11.dll, oraocci11.dll, oraociicus11.dll, OraOps11w.dll.
I have 2 computers. First, the entire ODAC package is installed, and the second without this package. But I have all the necessary DLLs in my exe directory, so ODAC is not a problem (I think). The difference between these computers is the path to the TNSNAMES file. First: C: \ app \ OraHome_1 \ Network \ admin \ Second: C: \ Oracle \ product \ 11.2.0 \ client_1 \ network \ admin
And according to the first program, the processor works fine. But on the second with the same connection string, connot open connection (ORA-12154). And using SQL Plus, I can connect on both computers.
So, how can I show my program the correct path to TNSNAMES?
source
share