Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7568
  • Last Modified:

TOAD connection not working

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
sfjohnston71
Asked:
sfjohnston71
  • 8
  • 5
1 Solution
 
sfjohnston71Author Commented:
Forgot to mention that I am working on the same PC as yesterday
0
 
seazodiacCommented:
try to do TNSPING in your DOS command window for the database you tried to connect.
0
 
sfjohnston71Author Commented:
I should also mention that I can connect to SQL Plus using the id and pasword i have.
0
Technology Partners: 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!

 
sfjohnston71Author Commented:
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
 
seazodiacCommented:
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
 
sfjohnston71Author Commented:
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
 
sfjohnston71Author Commented:
When I try and check SQL*Net Compatible Net8 I get the message

Can't initialize OCI. Error -1
0
 
sfjohnston71Author Commented:
I can connect to SQL plus - just ran a simple query against a table and got back the desired result
0
 
seazodiacCommented:
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
 
seazodiacCommented:
It's A button "SQL*NET HELP" on the bottom .
0
 
sfjohnston71Author Commented:
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
 
seazodiacCommented:
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
 
sfjohnston71Author Commented:
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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

  • 8
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now