Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-12154 TNS could not resolve service name through Automa
ShadowAssassin <tariq.khan_at_gmail-dot-com.no-spam.invalid> wrote:
> I can't connect to my Oracle9i database when the connection request is
> made via automation, i.e. I have Visual Basic call another dll which
> inturn makes an ODBC connection request. (Making direct connections
> on the other hand works.)
>
> When I try I get the following error message:
>> state was 08004, code 12154, message [Oracle][ODBC][Ora]ORA-12154:
>> (3720) [11-NOV-2005 17:12:55:442] --- LOG CONFIGURATION INFORMATION
>> >> (3720) [11-NOV-2005 17:12:55:442] ntvllt: entry >> (3720) [11-NOV-2005 17:12:55:442] ntvllt: exit >> (3720) [11-NOV-2005 17:12:55:442] nigini: entry >> (3720) [11-NOV-2005 17:12:55:442] nigini: Count in NI global area
>> (3720) [11-NOV-2005 17:12:55:442] nigini: Count in NI global area
>> (3720) [11-NOV-2005 17:12:55:442] nrigbi: entry >> (3720) [11-NOV-2005 17:12:55:442] nrigbni: entry >> (3720) [11-NOV-2005 17:12:55:442] nrigbni: Unable to get data from
>> (3720) [11-NOV-2005 17:12:55:442] nrigbni: exit >> (3720) [11-NOV-2005 17:12:55:442] nrigbi: exit >> (3720) [11-NOV-2005 17:12:55:442] nigini: exit >> (3720) [11-NOV-2005 17:12:55:442] niqname: Hst is already an
>> (3720) [11-NOV-2005 17:12:55:442] niqname: Inserting CID. >> (3720) [11-NOV-2005 17:12:55:442] nigtrm: Count in the NI global
>> (3720) [11-NOV-2005 17:12:55:442] nrigbd: entry >> (3720) [11-NOV-2005 17:12:55:442] nrigbd: exit >> (3720) [11-NOV-2005 17:12:55:442] nigtrm: Count in the NL global
Put the following line into sqlnet.ora:
TRACE_LEVEL_CLIENT = SUPPORT
Then the trace file should contain much more, and maybe you can find out
where it goes wrong.
Yours,
Laurenz Albe
Received on Tue Nov 15 2005 - 02:51:33 CST
![]() |
![]() |