dbTalk Databases Forums  

11g - ORA 12154 error after installation of ODAC1110610beta

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss 11g - ORA 12154 error after installation of ODAC1110610beta in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rom_vl1@mail.ru
 
Posts: n/a

Default 11g - ORA 12154 error after installation of ODAC1110610beta - 11-25-2007 , 10:06 AM






OS: Win XP SP2
Oracle 11g installed.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA 12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA 12154 but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman

Reply With Quote
  #2  
Old   
DA Morgan
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-25-2007 , 02:28 PM






rom_vl1 (AT) mail (DOT) ru wrote:
Quote:
OS: Win XP SP2
Oracle 11g installed.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA 12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA 12154 but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman
what is ODAC? If in a new ORACLE_HOME you must alter its tnsnames.ora.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #3  
Old   
shakespeare
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-25-2007 , 02:44 PM




"DA Morgan" <damorgan (AT) psoug (DOT) org> schreef in bericht
news:1196022529.367949 (AT) bubbleator (DOT) drizzle.com...
Quote:
rom_vl1 (AT) mail (DOT) ru wrote:
OS: Win XP SP2
Oracle 11g installed.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA 12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA 12154 but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman

what is ODAC? If in a new ORACLE_HOME you must alter its tnsnames.ora.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Oracle Data Access Components. Google for ODAC Oracle and it's your first
hit.

Shakespeare




Reply With Quote
  #4  
Old   
rom_vl1@mail.ru
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-25-2007 , 03:26 PM



On 25 нояб, 23:44, "shakespeare" <what... (AT) xs4all (DOT) nl> wrote:
Quote:
"DA Morgan" <damor... (AT) psoug (DOT) org> schreef in berichtnews:1196022529.367949 (AT) bubbleator (DOT) drizzle.com...





rom_... (AT) mail (DOT) ru wrote:
OS: Win XP SP2
Oracle11ginstalled.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA12154but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman

what is ODAC? If in a new ORACLE_HOME you must alter its tnsnames.ora.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damor...@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org

Oracle Data Access Components. Google for ODAC Oracle and it's your first
hit.

Shakespeare- Скрыть цитируемый текст -

- Показать цитируемый текст -
As I understand this is answer to DA Morgan.
Do you have any ideas about the problem?

What actions can I do to discover what is the reason?


Reply With Quote
  #5  
Old   
frank.van.bortel@gmail.com
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-26-2007 , 03:32 AM



On 25 nov, 17:06, rom_... (AT) mail (DOT) ru wrote:
Quote:
OS: Win XP SP2
Oracle 11g installed.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA 12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA 12154 but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman
Your path setting probably list the ODAC installation directory
first now - and in that directory, the correct tnsnames.ora
cannot be found.
Either copy your *.ora files from your database_home\network\admin
directory to the ODAC\network\admin directory, or introduce
the tns_admin environment variable (via a "SET" command, or via
the registry), and make it point to the correct (database home!)
network\admin directory.

That should do the trick.


Reply With Quote
  #6  
Old   
rom_vl1@mail.ru
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-26-2007 , 10:10 AM



On Nov 26, 12:32 pm, "frank.van.bor... (AT) gmail (DOT) com"
<frank.van.bor... (AT) gmail (DOT) com> wrote:
Quote:
On 25 nov, 17:06, rom_... (AT) mail (DOT) ru wrote:





OS: Win XP SP2
Oracle11ginstalled.

1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5

2. Installed ODAC 11.1.0.6.1.0 beta and..

3. Receive "ORA12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...

4. Full functional access still works from SQLPlus and from Database
Control Web interface.

I have read all posts related with ORA12154but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.

-Roman

Your path setting probably list the ODAC installation directory
first now - and in that directory, the correct tnsnames.ora
cannot be found.
Either copy your *.ora files from your database_home\network\admin
directory to the ODAC\network\admin directory, or introduce
the tns_admin environment variable (via a "SET" command, or via
the registry), and make it point to the correct (database home!)
network\admin directory.

That should do the trick.- Hide quoted text -

- Show quoted text -
Thank you very much.
You are right.
I thought about it, but I could not check what version of tsnnames.ora
uses ODAC


Reply With Quote
  #7  
Old   
DA Morgan
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-26-2007 , 10:22 AM



shakespeare wrote:

Quote:
what is ODAC? If in a new ORACLE_HOME you must alter its tnsnames.ora.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org

Oracle Data Access Components. Google for ODAC Oracle and it's your first
hit.

Shakespeare
Thanks.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #8  
Old   
DA Morgan
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 11-26-2007 , 10:23 AM



rom_vl1 (AT) mail (DOT) ru wrote:
Quote:
On Nov 26, 12:32 pm, "frank.van.bor... (AT) gmail (DOT) com"
frank.van.bor... (AT) gmail (DOT) com> wrote:
On 25 nov, 17:06, rom_... (AT) mail (DOT) ru wrote:





OS: Win XP SP2
Oracle11ginstalled.
1. Database was successfully created and was accessible from SQLPlus,
Database Control (Web interface) and TOAD 9.5
2. Installed ODAC 11.1.0.6.1.0 beta and..
3. Receive "ORA12154: TNS could not resolve the connect identifier
specified" error always trying to connect trough TOAD or from my
own .NET applications, but...
4. Full functional access still works from SQLPlus and from Database
Control Web interface.
I have read all posts related with ORA12154but most of them are very
old and do not help. tnsnames and listener settings are ok -
everything worked fine until the last ODAC was installed.
Any ideas of how to resolve the problem are very appreciated.
-Roman
Your path setting probably list the ODAC installation directory
first now - and in that directory, the correct tnsnames.ora
cannot be found.
Either copy your *.ora files from your database_home\network\admin
directory to the ODAC\network\admin directory, or introduce
the tns_admin environment variable (via a "SET" command, or via
the registry), and make it point to the correct (database home!)
network\admin directory.

That should do the trick.- Hide quoted text -

- Show quoted text -

Thank you very much.
You are right.
I thought about it, but I could not check what version of tsnnames.ora
uses ODAC
Put the same, working, TNSNAMES.ORA into every /network/admin directory.
--
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org


Reply With Quote
  #9  
Old   
Maciej Iwanczewski
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 12-01-2007 , 01:42 PM



DA Morgan pisze:
Quote:
Put the same, working, TNSNAMES.ORA into every /network/admin directory.
.... or make one directory with tnsnames.ora and sqlnet.ora and set
environment variable TNS_ADMIN.

Regards,
Maciek


Reply With Quote
  #10  
Old   
Frank van Bortel
 
Posts: n/a

Default Re: 11g - ORA 12154 error after installation of ODAC1110610beta - 12-02-2007 , 08:29 AM



Maciej Iwanczewski wrote:
Quote:
DA Morgan pisze:

Put the same, working, TNSNAMES.ORA into every /network/admin directory.

... or make one directory with tnsnames.ora and sqlnet.ora and set
environment variable TNS_ADMIN.

Regards,
Maciek
Both of which options I suggested a week ago...
--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.