Solved

TOAD connection not working

Posted on 2004-09-08
13
7,525 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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

738 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