Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 217341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:38:54+00:00 2026-05-11T18:38:54+00:00

I am able to connect to an Oracle database using several tools, but am

  • 0

I am able to connect to an Oracle database using several tools, but am unable to connect using Toad for Oracle 8.5.3 (though before a login/logout to Windows I was able to).

I am not using TNSNAMES.ORA to connect. I have two Oracle homes:

C:\Oracle\product\10.2.0\client_1
(OraClient10g_home1)
and
C:\Oracle\product\10.2.0\client_2
(ODACHome2)

where client 2 was installed after client 1.

I have tried Toad with each home, but I get “ORA-12154: TNS:could not resolve the connect identifier specified” when I supply the database name, user name, and password. I can connect using SQL*Plus using this same information, and I can connect via ADO.NET (ODP.NET). tnsping (client 2) to the server works, but tnsping (client 1) does not.

My PATH environment variable contains, in order:

C:\oracle\product\10.2.0\client_2\bin;C:\oracle\product\10.2.0\client_1\bin

and changing the order of PATH seems to have no effect. When I added the line

NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES)

to sqlnet.ora of client 2, Toad still could not connect, but the error message appeared much more quickly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T18:38:54+00:00Added an answer on May 11, 2026 at 6:38 pm

    I found the answer rather quickly after I posted, but I don’t know if this is the best solution. I copied the ldap.ora file from client 1 to client 2. ldap.ora had lines like the following, which I have munged for security reasons:

    DIRECTORY_SERVERS= (XXXXX:389:636,YYYYY:389:636)
    
    DEFAULT_ADMIN_CONTEXT = ""
    
    DIRECTORY_SERVER_TYPE = OID
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 100k
  • Answers 100k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You may be looking for the LEAVE statement -- scroll… May 11, 2026 at 7:59 pm
  • Editorial Team
    Editorial Team added an answer Thank you for the above answers. There probably are better… May 11, 2026 at 7:59 pm
  • Editorial Team
    Editorial Team added an answer You'll probably want to use SetWindowsHookEx to hook into the… May 11, 2026 at 7:59 pm

Related Questions

I am able to create and execute a DTS package that copies tables from
I have to develop a tool in C# that retrieves some data from an
I have an ASP.NET 2.0 application under IIS that has the functionnality of exporting
I am using the standard .NET OdbcConnection to connect to an AS/400 iSeries database.
I am currently writing an C# asp.net application to connect to an IIS server

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.