Form Builder Connection

I have installed Oracle 8i Personal Edition for Windows 98, is working OK using scott/tiger as User Name/Password. Now I installed Oracle Forms Developer/Services 6i Release 2 for Windows 98/NT/... and I can't get the connection, This is the error: ORA-12154:TNS: could not resolve service name . I would be grateful if somebody explain me step by step how to solve this problem or let me know where the documentation related with this topic is.
Thank you.

This problem is due to net easy configuration.
go thru that option and name one service name and the specified oracle service name that will append the tnsnames.ora in <developer home>/net80/admin/
or you can use this at the end of tnsnames.ors just paste code (below) and replace service_name with ur desired string and oracle_instance_name with ur oracle instance name and also check that listner is running or not. if not then go to the <oracle home>/ora81/bin/lsnctl.exe and type start then, it will connect with developer
service_name =
(CONNECT_DATA = (SID = oracle_instance_name))
Tehzeeb Ahmed

Similar Messages

  • Problem in form builder connecting to db

    Im very new to oracle technology, I have just installed oracle appdeveloper 9i and im trying to use form builder. When I try to log into my database which is also under a 9i personal database, it gives me the error "ORA-12154 TNS:could not resolve service name". I tryed to search for something on oracles site and also the forums but didnt find anything. I had problems installing developer suite but was solved in another form. I had to install it under oracle homes in c:\oracle. my database is installed also under oracle homes c:\oracle\ora92. I checked and made sure that all the services listed under services on windows xp service manager were running, and I still got the error. Please help me, I need this to work for class.
    Thanks in advance

    I tried to change the MW (which is the name of my database, to ora92 but then i couldnt connect to sql+, I did change the host to local host though.
    this is what my file currently reads:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    MW =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (SERVER = )
    INST1_HTTP =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (PRESENTATION = http://HRService)
    (SID = PLSExtProc)

  • Form Builder connecting to Oracle database

    I recently dowloaded the Personal Edition of the Oracle 10g database.
    Having done that, I installed a copy of Oracle Forms 6i which I had.
    When I used to connect to the database from the Forms Builder, I only entered username "scott" and password "tiger".
    Now, it seems I also need to enter the database name to connect.
    I tried "Oracle10g", which I think is the instance name, but I get an error about not being able to "resolve service name."
    Can someone help me with this?
    Thank you.

    Although not related to your problem, connecting Forms 6i to a 10g database isn't really a good idea. Although it is supported by Oracle, you are likely to have problems. Remember that Forms/Reports 6i is very old (and no longer supported) and was based on the Oracle 8.0.6 architecture. Additionally, be sure you are using Forms (Patch 13) or newer if you plan to connect to 10.x.
    That said, your problem is not related to the versions you are using. It is caused by the fact that the database is considered "remote" relative to Forms. This is true even though both products are likely installed on the same machine. By having them installed in different Oracle Homes (which you must), the database might as well be on another machine.
    Short answer, you need to add the database information to the tnsnames.ora file found in the Forms Oracle Home. More specifically, it can be found in:
    The other alternative is to set TNS_ADMIN in the system environment (not the Windows Registry). This will point to the database's tnsnames.ora and will allow all installed products to access the same file.

  • Form Builder CONNECT

    Hello all:
    I 'd like to do Form Builder when I click CONNECT , I cannot. But If I use the same user/pw and DB in ISQLPLUS , I can do.
    Pls advise I have have to set config on edit> preference about
    Application server,
    web server
    or not
    and what should be.
    Thx in advance.

    This is what I found
    1. C:\DevSuiteHome_2\NETWORK\ADMIN\tnsnames
    (ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
    2. C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames
    (ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
    (SERVICE_NAME = orcl)
    5. result select * from global_name
    6. my isqlplus http://r6tln001.piyathana.corp:5560/isqlplus
    Pls help again
    Thx in advance

  • Form builder connectivity with Access

    how i can connect form 6i to Access. i know its a weird one but i need it. plz guide me. is there any step by step guide.

    Try following this steps:
    1. Create an access database e.g. c:\db1.mdb
    2. Open the access database and create a table with some data. Save the file.
    3. Create on ODBC connection:
         execute odbcad32.exe. Add...,
         select driver for microsoft access,
         give it a name of your choice e.g. oraacc
         select the file you created in step 1
    4. Open the form builder. File, connect
         username: anything
         password: anything
         database: odbc:oraacc
    5. Launch data block wizard.
    6. Put your table name and the rest is the same as for an oracle database

  • Form Builder Connectivity from other database

    Could anyone please guide me in detail to connect Oracle Forms 9i/10g with MS SQL Server database?
    Also how do we connect with other databases like SQL Server, MS Access, and so on?
    Thanks in advance.
    Edited by: user10876897 on Apr 13, 2009 10:08 PM

    create an odbc for oracle and connect form to any database through odbc using
    userid/passwd and database as odbc:dsnname

  • Can't run form from Form Builder 10g - Port configuration problem?

    I have installed the Database ( and the Developer Suite ( on two Linux machines (Red Hat Enterprise Linux ES 4 Basic).
    If I enter the frmservlet-URL manually everything seems to be fine.
    In one case I enter, in the other; in BOTH cases I get eventually a dark square and the status bar says "Applet oracle.forms.engine.Main started".
    HOWEVER, if I create a simple form with Form Builder and click on the Button with the green traffic light ("Run Form"), the form runs only on the machine where frmservlet listens on port 8890.
    On the other machine (frmservlet configured to listen on port 8889) Firefox pops up, the URL "" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for", and it stays like this forever.
    I assume this is a port configuration problem, but I don't have a clue where to start.
    Any suggestions how I should proceed are greatly appreciated.
    Thank you very much in advance!

    Hi Frank,
    Thank you for your reply.
    I doublechecked my configuration.
    In the dialog Edit --> Preferences --> Runtime the Application Server URL is set to "".
    However, when I attempt to run the form, the URL "" gets called.
    The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for", and that's it.
    I wonder how the port number 33140 got selected. Interestingly, this time it is a different number; last time it was port 32979. In fact, the port number seems to change each time; I tried again and now it is 33189.
    I will now try to set the port number for the frmservlet to 8890.
    I choose Edit --> Preferences --> Runtime and set the application server URL to "".
    I stop the container, open /home/oracle/OraHome_1/j2ee/DevSuite/config/default-web-site.xml and change the port number to 8890:
    <?xml version="1.0" standalone='yes'?>
    <!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "">
    <!-- change the host name below to your own host name. Localhost will -->
    <!-- not work with clustering -->
    <!-- also add cluster-island attribute as below
    <web-site host="localhost" port="0" protocol="ajp13"
    display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
    <web-site port="8890" protocol="http"
    display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
    <!-- Uncomment the following line when using clustering -->
         <!-- <frontend host="your_host_name" port="80" /> -->
         <!-- The default web-app for this site, bound to the root -->
         <default-web-app application="default" name="defaultWebApp" root="/j2ee" />
    <!-- Do not delete this line. -->
    <web-app application="forms" name="formsweb" root="/forms" />
    <!-- -->
    <!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
    <web-app application ="reports" name="web" root="/reports" />
    <web-app application = "reports" name="demo" root="/repdemo" />
         <!-- Access Log, where requests are logged to -->
         <access-log path="../log/default-web-access.log" />
    I restart the container, start Form Builder, connect to the database, and open my test form.
    When attempting to run the form, the URL "" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for".
    However, when I enter the URL I do (eventually, after confirming that I trust the certificate etc.) get a darc rectangle and the status message "Applet oracle.forms.engine.Main started", which tells me that my setup can't be that far off target.
    Here is the output of netstat:
    [[email protected] ~]# netstat -anp --tcp
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0* LISTEN 2779/rpc.statd
    tcp 0 0* LISTEN 5269/java
    tcp 0 0* LISTEN 2759/portmap
    tcp 0 0* LISTEN 4265/tnslsnr
    tcp 0 0* LISTEN 2983/xinetd
    tcp 0 0* LISTEN 4429/spamd --port 7
    tcp 0 0* LISTEN 2928/cupsd
    tcp 0 0* LISTEN 5269/java
    tcp 0 0* LISTEN 3002/sendmail: acce
    tcp 0 0* LISTEN 5269/java
    tcp 0 0* LISTEN 4231/ora_d000_orcl
    tcp 0 0 ESTABLISHED 4265/tnslsnr
    tcp 0 0 ESTABLISHED 4209/ora_pmon_orcl
    tcp 0 0 ESTABLISHED 5298/frmbld
    tcp 0 0 ESTABLISHED 5311/oracleorcl
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 0 0 ESTABLISHED 4060/python
    tcp 0 0 ESTABLISHED 4060/python
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 1 0 CLOSE_WAIT 4060/python
    tcp 0 0 :::22 :::* LISTEN 2968/sshd
    tcp 0 0 ::ffff: :::* LISTEN 5298/frmbld
    tcp 697 0 ::ffff: ::ffff: CLOSE_WAIT -
    tcp 348 0 ::ffff: ::ffff: CLOSE_WAIT -
    [[email protected] ~]#
    The question remains: Where do those port numbers come from?

  • Browser blank when running a form from forms builder ??

    I am trying to run a form from forms builder.
    I have a form , compiles, and when I run the form nothing comes up in my browser.
    my browser is completely blank.
    I am running everything on my local machine.
    the steps I took.
    - downloaded jinit.exe, installed it.
    - started the OC4j
    - restarted my browser
    - then connect to my DB from forms builder - connects fine
    - Run the form
    but nothing is coming up when i run my form.
    I even restarted my machine and still nothing.
    What am I missing ??

    This is a fairly common question. If you have the Jnit installed and OC4J running, then I would suggest you add the directory where your FMX is located to the FORMS_PATH in the 'DEFAULT.ENV' file located in the %DEVSUITE_HOME%/forms/server directory. The FORMS_PATH variable defines the SEARCH Path for Forms Applications so Forms can find your .FMX and .PLX files.
    You could also modify the URL and specify the Form='your_form_name.fmx', but I prefer adding the directory to the FORMS_PATH so I don't have to add FORMS="" for each different form I'm working on.
    Hope this helps,
    Craig B-)
    If a response is helpful or correct, please mark it accordingly.

  • Error when connecting to form builder

    When I try to connect to form builder ,I get this error message ,
    ORA-12154:TNS: could not resolve service name
    What is it?

    Try connecting through SQLPLUS first and check if the connection is going through fine. Check if the service name your are trying to connect with is defined in the TNSNAMES.ORA file. If it is not present create the service name. Also mention the versions of Oracle DB and the Forms.

  • Connect Oracle Form Builder 10g to Oracle Database 10g Express

    I'm new to Oracle.
    I've installed both form builder and database 10g express.
    I tried to connect form builder to HR sample database in 10g express with the following:
    user name: hr
    password: hr
    database: hr
    but I received message: ora-12154: tns could not resolve the connect identifier specified.
    Can anyone help me on that? Do I need to change the tnsnames.ora?
    If yes, what should I need to change in order to connect to the HR sample?
    Thank you.

    Yes you need to have an entry in the tnsnames.ora file for you database service name or sid. The service name or sid is usually XE unless you changed it when you installed 10g express.

  • Form Builder crashes while saving .fmb file when connected to db

    I am getting error The instruction at "0x679c352c" referenced memory at "0x0000001c". The memory could not be "read".
    Forms version is and database version is
    I am doing the following steps:
    1) Open .fmb file in forms builder
    2) Connecting to database
    3) Making some changes in form
    4) Compiling (Ctrl+Shift+K) and generating form (Ctrl+t)
    5) Saving form <--- Here I am getting the error and form crashes
    If I do not connect to database then builder is allowing me to save the file
    1) Open .fmb file in forms builder
    2) Making some changes in form
    3) Saving form (Successful)
    I did some exercise just as a guess that may some part of the form is causing this error. I full expanded all components of the form i.e. blocks, canvases, triggers etc.
    This exercise produced that 3 program units were giving same error while full expending those. I deleted those 3 program units and re-created them. Now it is not showing me this memory error while full expanding all program units. I can now fully expand my full form.
    But I am still getting this error while saving the changes when I am connected to database.
    Please help.
    Edited by: rawat75 on Sep 2, 2011 7:13 PM

    Hi Experts,
    We are getting the same issue. Our form builder crashes once we open our custom form
    in form builder.
    Server shows:-
    Forms 6.0 (Forms Runtime) Version (Production)
    Form Builder shows:-
    Forms [32 Bit] Version (Production)
    How to upgrade the form builder version?

  • Connect to the database straight from the direct access of form builder

    What do i have to put in the direct access of form builder and procedure builder to connect to the database without have to do it once i4ve enter into form or procedure builder, I know i have to put user/password and connect string but in which order or which characters do i have to use.
    Thanks in advance.

    thanks jdendas, that works with forms but not with procedure builder, if i put that it does not start the session with the procedure builder.
    Thanks anyway-

  • Not able to connect to database from Form builder

    Hi ,
    I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
    In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
    ORA- 12154 : TNS : could not resolve service name.
    Kindly do the needfull.

    i am getting the below error when i tried to connect DB from form builder.
    ORA- 12154 : TNS : could not resolve service name.Please post the exact syntax you use to connect.

  • How I connect remote database in forms builder

    username myname
    password mypass
    database test
    database server
    port 1521
    how can I connect in oracle 11g forms builder ??

    using in the connect string ? ( or ) or set it up using TNSNAMES.ORA

  • Form builder make an error in windows xp sp2 when connecting oracle xe

    i have installed the forms from developer 6i and tried to connect to
    oracle xe using form builder , the problem was that windows show an error and
    it says that an error has occur and we are sorry , do you want to send the message

    Hi Samer,
    sorry, but I haven't done any character set migration yet. Usually I have used exp/imp to move the data to a new database instance that was created with the new target character set. But with XE you only have the choice between WE8MSWIN1252 and AL32UTF8, you cannot easily create a new instance with a different character set.
    This should suffice for most applications. But you have a special case where you run into a problem with a product where you won't get any enhancements for anymore. Forms6i entered extended support on 01/2005.
    Perhaps someone else can help you out with the character set migration.
    Good luck,

Maybe you are looking for

  • Problem when Reading Multiple values from Arduino to Vb

    Hi Mates, I am getting 4 values from Arduino using Serial.Println statement 4 times. How do I need to receive these values to 4 different variables in VB without using any buttons. We have to serial data received as per my knowledge. I've written the

  • Why mp4 is not supported by Final Cut Pro?

    Hi all, I want to put a logo in a video but the format is in mp4. Final cut refuse to open the file. What should i do ? My file is in HD and i dont want to loose quality at all. How can i convert it ? With what program  ? Any free ? Thanks

  • Earphone not working on my iPhone but works fine on my laptop

    Whenever i use my earphone on my iPhone 4s, there's no sounds coming out on one of my earphone with the remote and mic(i mean the remote and mic works but no sounds from the earpiece) while the other one works fine. I tried using my earphone on my ma

  • Is it possible to add pushbuttons to the SAP Easy Access Front Screen ?

    Dear gurus. Is it possible to add pushbuttons to the SAP Easy Access Front Screen when a person logs in? if so how can we achieve it ? Regards Saad Nisar.

  • Manually Edit An Alias Original File Path?

    How do I edit the original path that an alias uses? I have created an alias to a network volume, but the patch that the alias is using is by share name (/Volumes/Share Name) whereas I want it to use the ip (/ However, I can't figu