Home » Developer & Programmer » Forms » Forms2000 and Oracle 9i
Forms2000 and Oracle 9i [message #155097] Thu, 12 January 2006 06:21 Go to next message
abhijitmane2000
Messages: 20
Registered: June 2005
Location: Pune,Maharastra,India
Junior Member
Hi everybody,

I am newbie in forms,can anybody tell me how to configure tnslistener.ora file for connecting the forms and oracle database.

Thanks in advance.

with regards

Abhijit.
Re: Forms2000 and Oracle 9i [message #155118 is a reply to message #155097] Thu, 12 January 2006 08:27 Go to previous messageGo to next message
orausern
Messages: 826
Registered: December 2005
Senior Member
you have to configure tnsnames.ora file to connect to the database.

Ideally , you can check with your dba for this..for detail on what needs to configure see links like:
http://www.databasejournal.com/features/oracle/article.php/3092461

for a problable quick solution: see end part of that link which says:

If you were using one and only one database, no external procedure calls, all you would need in the tnsnames.ora file is this:

DBASPT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = yourpc)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = dbaspt)
)
)

Scott and other users would only need to use username/password@dbaspt to connect to the database. The "SERVICE_NAME" entry could be changed to "SID" because the use of "SID = your_database_name" is still supported, but the Net8 and beyond Oracle-recommended standard is "SERVICE_NAME = your_database_name."

Re: Forms2000 and Oracle 9i [message #155136 is a reply to message #155097] Thu, 12 January 2006 09:26 Go to previous messageGo to next message
karan.shandilya
Messages: 64
Registered: July 2005
Location: mumbai
Member
Hi Abhijit,
Just do one thing, copy the tnsnames.ora file of DATABASE
Path is- U:\oracle\home\network\ADMIN\tnsnames.ora

and paste it in the tnsnames.ora file of your tool Form2000
Path is- U:\forms2000\NET80\ADMIN\tnsnames.ora. and save the file.

This will connect your database to your form2000 tool and this is one time job.

This will solve your problem.

Karan.
Re: Forms2000 and Oracle 9i [message #155203 is a reply to message #155136] Thu, 12 January 2006 16:49 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You can also use the 'ifile' method to point one tnsnaems.ora at another copy. Search this forum for 'ifile'. It about 4-5 months old.

David
Re: Forms2000 and Oracle 9i [message #155390 is a reply to message #155097] Sun, 15 January 2006 21:49 Go to previous messageGo to next message
abhijitmane2000
Messages: 20
Registered: June 2005
Location: Pune,Maharastra,India
Junior Member
Hi Karan ,

Thank u for ur reply,but my forms 2000 dont have net80 directory.
Can u tell me then how i configure the tnsname.ora.

Waiting for ur reply.

Abhijit.
Re: Forms2000 and Oracle 9i [message #155391 is a reply to message #155390] Sun, 15 January 2006 22:11 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Open windows explorer, select the C: drive (or whichever drive you have Oracle on), press the search button, type tnsnames.ora into the 'file name' box, press enter, wait.

How many tnsnames.ora do you have, and in which directories do they reside?

David
Re: Forms2000 and Oracle 9i [message #155625 is a reply to message #155097] Tue, 17 January 2006 12:54 Go to previous message
karan.shandilya
Messages: 64
Registered: July 2005
Location: mumbai
Member
Hi Abhijit,
Do the steps according to David,
you will definitely find the tnsnames.ora files containing directories.

Now write the full paths of your tnsnames.ora files in your reply.

Karan.
Previous Topic: New student,please help me,thanks!
Next Topic: ....... Date Issue
Goto Forum:
  


Current Time: Fri Sep 20 04:20:57 CDT 2024