472,811 Members | 1,625 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,811 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 10890
"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
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.