Link to home
Start Free TrialLog in
Avatar of aminmohsalih
aminmohsalih

asked on

Connect Developer 6i with Oracle 9i database

I want to connect developer 6i with oracle 9i database what can I do ?
Avatar of aminmohsalih
aminmohsalih

ASKER

Oracle 9i Relese 2
Avatar of Helena Marková
Can you connect to the Oracle 9i database from SQL*Plus ?
Yes it is possible. The only problem is the NLS character set of 9i. If it is AL32UTF8 then you have to patch Forms with patch after #10.
Install Developer in different Oracle Home if you have other Oracle installations on your computer.


Oracle Developer6i and the Oracle8i database require separate Oracle home directories.
Even if you configure SQL*net (Net8) in the Oracle home that your database Oracle server uses, so that you can connect via SQL*Plus, that does not allow Developer2000 to connectsuccessfuly to the Oracle server.  You also need to configure SQL*Net (in tnsnames.ora file) in the
Oracle home for Developer2000.  You can do that either using the GUI tools, or to copy two files:
sqlnet.ora and tnsnames.ora from your 8i Oracle home to your Developer2000 Oracle home.  In your 8i
Oracle home these files are in: \Network\admin, but in your Developer2000 home they are in: \Net80\Admin. A safety measure is to save a copy of them first, before you make changes or copy other ones in. This is so because you have to keep a way for restoring the files if you make a mistake.
--------
This is a generic advise I collected for a year answering to this kind of questions.
 

You can use the "Oracle Net assistant" to see if you have the appropriate entry to the server in the local tnsnames.ora file (find it!). I mean that one in the Client or Forms&Reports home, not that one in the Oracle_Home.
Under local I mean the file tnsnames.ora  in your application, not at the Oracle Server - this is a common mistake.

You have to have there an entry like:

REKS816.RILA.us =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = bigbluenew.rila.us)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVICE_NAME = REKS816)
     )
  )


Be aware that in old versions of Oracle instead of SERVICE_NAME you have to use SID. So (SERVICE_NAME = REKS816)will be (SID = REKS816)
     
It is a bad practice, but you can add such entry using simple text editor. But before that make a copy of tnsnames.ora in order to restore it if you do not succeed.

After that go to "control panel" and run "services".
Look at your Oracle_Home_TNSlistener80 process. Stop it! Start it again!
I used patch #14 for forms and I config. the tnsnames.ora well but when I try to connect the following message
Oracle SQL*Plus : pluss80w.exe application error
" The Instruction of "0x67614f04" referenced memory at  "0x00000160"  the memory counld not be written


Remark
When I use SQL*Plus of Oracle Client I connected successfuly!
It is strange - plus80w.exe is SQL*Plus and you write "When I use SQL*Plus of Oracle Client I connected successfuly!" .
when I use SQL*Plus of developer the past message occure but when I use SQL*Plus of Oracle Client I connected successfuly!! ?
Maybe you have to reinstall Oracle Forms6i.
I do this many times
I cannot understand why during connection (Ctrl+J in Forms6i) it uses SQL*Plus !
ASKER CERTIFIED SOLUTION
Avatar of Helena Marková
Helena Marková
Flag of Slovakia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial