ODBC Error Ora-12154

Este forum é destinado a perguntas relacionadas a Oracle, mas que não se enquadram nos forums acima. Aqui serão tratadas também sobre outras tecnologias da oracle, como o Workflow, BPEL, Spatial, OCS, etc.
Post Reply
Soni
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 12
Joined: Tue, 19 Dec 2006 2:51 pm
Location: Palhoça - SC

Hello, I need to set up an ODBC drive for access to the bank.
is giving error

Select all

ORA-12154:TNS:não foi possível resolver o identificador de conexão especificado.
and I can access SQL Navigator or the same transname in the client

Someone has a idea of ??what can be occurring wrong
and use the same navigator data in the driver conf
diegolenhardt
Moderador
Moderador
Posts: 1177
Joined: Thu, 15 Oct 2009 10:28 am
Location: Recife

Are you using InstantClient? Normal client10g? What installation option?
Windows XP, Seven? x86, x64?

¬¬
Soni
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 12
Joined: Tue, 19 Dec 2006 2:51 pm
Location: Palhoça - SC

Ola Diegolenhardt
client10g with WinXP

So ... with SQL Navigator access without problem

But precise ODBC access to make reverse how is the. To get the ER model the base has 90 (ninety) tables.

In the client10g has transnames, listener and sqlnet
diegolenhardt
Moderador
Moderador
Posts: 1177
Joined: Thu, 15 Oct 2009 10:28 am
Location: Recife

Already solved?

Searches for tnnames.ora Throughout your machine,

looks at the Regedit in

Select all

HKEY_LOCAL_MACHINE > SOFTWARE > ORACLE
See if it has more than an Oracle_Home,
Listener.ORA does not care, only tnsnames.ora, take a test through SQLPlus,

99]] For example:

Select all

C:\oracle\client10g\network\admin\tnsnames.ora
If the path of his tnsnames were thus

Call the SQLPlus that is within that path:

Select all

C:\oracle\client10g\bin\sqlplus.exe usuario/senha@base
Post the results.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests