Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Ora-12154 while debugging proc with Visual c/c++

Re: Ora-12154 while debugging proc with Visual c/c++

From: Ronald <devnull_at_ronr.nl>
Date: 4 Mar 2003 09:18:30 -0800
Message-ID: <67ce88e7.0303040918.6e9a22e8@posting.google.com>


"MPG" <pg_miguel_at_hotmail.com> wrote in message news:<JQY8a.924515$Ye7.6054961_at_telenews.teleline.es>...
> - When I run the compiled program (.exe) it connects to the DB fine fine.
> - But when I run the program through the MSVisualc/C++ (for debugging) the
> connection error ora-12154 apears.
>
> - The OS is windows XP
> - The DB is Oracle 9.2
> - TNSNAMEs.ora LOOKS LIKE

Miguel,
I don't know much about the tools you use but first thing to check: is ORACLE_HOME known at debugging time ? if not make sure it is. Where did you put tnsnames.ora ?
If not in ORACLE_HOME/network/admin make sure you have TNS_ADMIN pointing to the correct location.

Ronald.



http://ronr.nl/unix-dba Received on Tue Mar 04 2003 - 11:18:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US