Solved

TOAD connection not working

Posted on 2004-09-08
13
7,539 Views
Last Modified: 2012-06-21
I have installed Oracle 9.i and TOAD 7.6 Expert - yestrday it worked fine for me  on a colleagues PC - but today when I have logged in as myself (and stupidly installed TOAD again) - now when I go to login to my database I geta message that is Blank and just has an "OK" button - when I click this button nothing happens.

Can anyone suggest what is happenning.

I have already tried uninstalling TOAD, deleting the Quest directory in the Program Files directory as well.

Short of uninstalling Oracle 9.i on my computer and re-installing - can anyone suggest why this has happenned. I cannot fin anythin n the TOAD release notes to help.

Thanks
0
Comment
Question by:sfjohnston71
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 5
13 Comments
 

Author Comment

by:sfjohnston71
ID: 12012266
Forgot to mention that I am working on the same PC as yesterday
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12012270
try to do TNSPING in your DOS command window for the database you tried to connect.
0
 

Author Comment

by:sfjohnston71
ID: 12012475
I should also mention that I can connect to SQL Plus using the id and pasword i have.
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

Author Comment

by:sfjohnston71
ID: 12012492
seazodiac - at my cmd prompt I am typing c:\>tnsping <databasename>

it's telling me that the name is not recognised as an internal or external command, operable program or batch file
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12012533
but you are sure you can use SQLPLUS to connect to oracle...

if you are absolutely sure about that, then let's configure TOAD,

when you open up the TOAD, in the first popup window (not the main window) showing the connection screen.

On the right side of the window, it has a few checkbox say: use SQLNET to connect , Use net8 compatible to that effect.

check those two boxes. and try again
0
 

Author Comment

by:sfjohnston71
ID: 12012546
I checked the box Force SQL*Net (ignore Net 8) it gave me an error message

Initialization error
Could not locate OCI dll

When I click connect
0
 

Author Comment

by:sfjohnston71
ID: 12012555
When I try and check SQL*Net Compatible Net8 I get the message

Can't initialize OCI. Error -1
0
 

Author Comment

by:sfjohnston71
ID: 12012588
I can connect to SQL plus - just ran a simple query against a table and got back the desired result
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12012627
ok, here is another thing to look at :

in the very same window you do the configuration above.

at the very bottom of the right side, there is SQLNET Help (it's blue link) you can click that, it will open up another window with a bunch of ORACLE_HOMES

make sure you have the right ORACLE_HOME there, the same ORACLE_HOME where your SQLPLUS executables are in..
0
 
LVL 23

Expert Comment

by:seazodiac
ID: 12012637
It's A button "SQL*NET HELP" on the bottom .
0
 

Author Comment

by:sfjohnston71
ID: 12012677
I have a line saying that D:\oracle\ora92\BIN is not in the system path when I click on the connect using

my home directory is d:\oracle\ora92 - which is where my Oracle is installed and the SQL Plus folder is

I don't have a SQL NetHelp - I have a SQL Net Editor which does not mention Oracle Home

0
 
LVL 23

Accepted Solution

by:
seazodiac earned 500 total points
ID: 12012730
Ok, let's re-examine the things:

in the TOAD popup window (login window) there should be 3 buttons there, Can you read what they are?

I have "SQL*NET HELP" , "OK", "CANCEL" button...

If I click SQLNET Help button:

you will another pop up window to allow you set up ORACLE_HOME.

0
 

Author Comment

by:sfjohnston71
ID: 12012913
OK - seazodiac - you can have the points. I uninstalled Oracle 9.i and TOAD out of shear frustration and now I can connect!!

But now I have issues with my access rights - aargghhhhhhhhhh
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question