473,379 Members | 1,317 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Oracle Forms Developer error on Oracle9i Developer Suite

When I attempt to run a form created with Oracle9i Forms Builder I receive a
dialog box asking for the following info:

User Name:
Password:
Database:

I obviously know my User Name and Password, and I assume that the value I
use for Database is the value found in the tnsnames.ora file (in my case,
ORCL). However, when I do this I receive the following error:

ORA-12154: TNS:could not resolve service name

I do not receive this error when logging into SQL*Plus or entering my
username and password for Enterprise Manager Console, but those do not have
a Database: field to fill in and have a different Oracle Home directory,
which causes me to think that the problem is either the value I am entering
in the Database: field or some setting that I do not know of. I am using
Oracle9i Database Personal Edition and Oracle9i Developer Suite on Windows
XP Professional SP2. If any more information is necessary, let me know what
it is and how to find it (since I am new to database administration). Any
help would be greatly appreciated. Thanks.
--
Nathan Sokalski
nj********@hotmail.com
www.nathansokalski.com

Jul 19 '05 #1
3 10949
"Nathan Sokalski" <nj********@verizon.net> wrote in message news:<A_Cdd.948$Nf7.513@trndny02>...
When I attempt to run a form created with Oracle9i Forms Builder I receive a
dialog box asking for the following info:

User Name:
Password:
Database:

I obviously know my User Name and Password, and I assume that the value I
use for Database is the value found in the tnsnames.ora file (in my case,
ORCL). However, when I do this I receive the following error:

ORA-12154: TNS:could not resolve service name

I do not receive this error when logging into SQL*Plus or entering my
username and password for Enterprise Manager Console, but those do not have
a Database: field to fill in and have a different Oracle Home directory,
which causes me to think that the problem is either the value I am entering
in the Database: field or some setting that I do not know of. I am using
Oracle9i Database Personal Edition and Oracle9i Developer Suite on Windows
XP Professional SP2. If any more information is necessary, let me know what
it is and how to find it (since I am new to database administration). Any
help would be greatly appreciated. Thanks.



Hi,
i would like to say, username and password which you assign for oracle
database.
while database is the service name you have created for accessing
oracle database. refer to below, database = HP

HP =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = OracleDbase)
)
)

this ia the text in tnsnames.ora file , place the database name under
the service name.

i think that is useful enough. I'm using SQLPlus to access the oracle
database.

regards,
prisilia
Jul 19 '05 #2
"Nathan Sokalski" <nj********@verizon.net> wrote in message news:<A_Cdd.948$Nf7.513@trndny02>...
When I attempt to run a form created with Oracle9i Forms Builder I receive a
dialog box asking for the following info:

User Name:
Password:
Database:

I obviously know my User Name and Password, and I assume that the value I
use for Database is the value found in the tnsnames.ora file (in my case,
ORCL). However, when I do this I receive the following error:

ORA-12154: TNS:could not resolve service name

I do not receive this error when logging into SQL*Plus or entering my
username and password for Enterprise Manager Console, but those do not have
a Database: field to fill in and have a different Oracle Home directory,
which causes me to think that the problem is either the value I am entering
in the Database: field or some setting that I do not know of. I am using
Oracle9i Database Personal Edition and Oracle9i Developer Suite on Windows
XP Professional SP2. If any more information is necessary, let me know what
it is and how to find it (since I am new to database administration). Any
help would be greatly appreciated. Thanks.


Nathan,
you might have more then 1 oracle home, one for your database, and 1
for the developer tools. Find out if you have more than 1 tnsnames
file, and if so, make them equal (or change the registry settings so
that they point to the same file),

hth
Frans
Jul 19 '05 #3
fr****@hotmail.com (Frans H.) wrote in message news:<31**************************@posting.google. com>...
"Nathan Sokalski" <nj********@verizon.net> wrote in message news:<A_Cdd.948$Nf7.513@trndny02>...
When I attempt to run a form created with Oracle9i Forms Builder I receive a
dialog box asking for the following info:

User Name:
Password:
Database:

I obviously know my User Name and Password, and I assume that the value I
use for Database is the value found in the tnsnames.ora file (in my case,
ORCL). However, when I do this I receive the following error:

ORA-12154: TNS:could not resolve service name

I do not receive this error when logging into SQL*Plus or entering my
username and password for Enterprise Manager Console, but those do not have
a Database: field to fill in and have a different Oracle Home directory,
which causes me to think that the problem is either the value I am entering
in the Database: field or some setting that I do not know of. I am using
Oracle9i Database Personal Edition and Oracle9i Developer Suite on Windows
XP Professional SP2. If any more information is necessary, let me know what
it is and how to find it (since I am new to database administration). Any
help would be greatly appreciated. Thanks.


Nathan,
you might have more then 1 oracle home, one for your database, and 1
for the developer tools. Find out if you have more than 1 tnsnames
file, and if so, make them equal (or change the registry settings so
that they point to the same file),

hth
Frans

Just as an FYI, when even you install a new Oracle product on top of
the existing Oracle Products, Oracle makes the default Oracle Home to
the Home of the newly Installed Products. To recognize the previous
TNS Names.ora which you have build painstakingly, all you have to do
is change the dafault home by using Oracle Home Selector by going to
Start-->Programs-->Oracle Installation Products-->Oracle Home Selector

Change it back the previously installed Oracle Home, and you would
successfully connect to all your TNS Services without "ORA-12154:
TNS:could not resolve service name" error.

Hope this helps
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: rawii | last post by:
I am running on a Sun box and am trying to install the perl tools to connect to Oracle. When I try to install the DBD::Oracle module, I get the following. Please help.. What does is mean and...
11
by: Rosco | last post by:
Does anyone have a good URL or info whre Oracle and Access are compared to one another in performance, security, cost etc. Before you jump on me I know Oracle is a Cadillac compared to Access the...
13
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
4
by: Corrado Valiente | last post by:
Hi all, I am thinking about becoming an Oracle developer. I have experience with Centura Team Developer AKA SQLWindows, this is a front-end developer environment for a variety of of database...
3
by: oracleBugZilla | last post by:
Hi everybody! It seems like I don't have much luck with Oracle! I've installed Oracle database 9i on my fedora box, I've also successfully installed the most difficult Oracle AS 10.1.3.1 (or...
1
by: omsirswa | last post by:
Hi, I installed oracle 9i on Window XP . Oracle9i database was installed without any problem and is running fine. Then I installed Dev6i (ver2). It too installed without any problem. While...
0
by: Louis D | last post by:
I installed Oracle 9i (Developer Suite and D'base) ver 9.02 on my windows 2K O/S. The installation went fine without a hitch. However when I upgarded my OS to WinXP I now get an "Oracle Intelligent...
3
by: Nathan Sokalski | last post by:
When I attempt to run a form created with Oracle9i Forms Builder I receive a dialog box asking for the following info: User Name: Password: Database: I obviously know my User Name and...
1
by: samir pradhan | last post by:
Hi Everybody. I am new in this forum. can anybody help me to explain the connection procedure of oracle9i database and oracle 10g developer suite ? Thanx
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.