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.

hi,
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 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.201)(PORT = 1521))
(CONNECT_DATA = (SID = oracle_instance_name))
enjoy
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 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = )
    (SERVICE_NAME = ORA92)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)

  • 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 6.0.8.22 (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:
    %ORACLE_HOME%\NET80\ADMIN
    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_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    2. C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames
    (ADDRESS = (PROTOCOL = TCP)(HOST = R6TLN001.piyathana.corp)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    3.C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    4.C:\DevSuiteHome_2\NETWORK\ADMIN\sqlnet
    NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
    5. result select * from global_name
    ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM
    6. my isqlplus http://r6tln001.piyathana.corp:5560/isqlplus
    Pls help again
    Thx in advance

  • Form builder connectivity with Access

    hi
    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.
    thnx

    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
         OK
    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?

    Hi,
    I have installed the Database (10.2.0.1.0) and the Developer Suite (10.1.2.0.2) 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 http://127.0.0.1:8890/forms/frmservlet, in the other http://127.0.0.1:8889/forms/frmservlet; 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 "http://127.0.0.1:32979/6dOrpwghCqnp8PhMT7KVT533m3IaArqFbPqPBOztZXWYSsNy" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", 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 "127.0.0.1:8889/forms/frmservlet".
    However, when I attempt to run the form, the URL "http://127.0.0.1:33140/W2dwbV9eXS2fPkuKlxNhCxFWdEihwDviat2uV7ycrSotqwDN" gets called.
    The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", 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 "127.0.0.1:8890/forms/frmservlet".
    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" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
    <!-- 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" />
    </web-site>
    I restart the container, start Form Builder, connect to the database, and open my test form.
    When attempting to run the form, the URL "http://127.0.0.1:33437/Pl0n3ky9vmU5z37A7ScBnQhsGwq3jwuzJpgTAKWPMOYIzT8K" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for 127.0.0.1...".
    However, when I enter the URL http://127.0.0.1:8890/forms/frmservlet 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 0.0.0.0:32769 0.0.0.0:* LISTEN 2779/rpc.statd
    tcp 0 0 0.0.0.0:23910 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2759/portmap
    tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4265/tnslsnr
    tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2983/xinetd
    tcp 0 0 127.0.0.1:7830 0.0.0.0:* LISTEN 4429/spamd --port 7
    tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2928/cupsd
    tcp 0 0 0.0.0.0:9240 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3002/sendmail: acce
    tcp 0 0 0.0.0.0:8890 0.0.0.0:* LISTEN 5269/java
    tcp 0 0 0.0.0.0:32795 0.0.0.0:* LISTEN 4231/ora_d000_orcl
    tcp 0 0 127.0.0.1:1521 127.0.0.1:32817 ESTABLISHED 4265/tnslsnr
    tcp 0 0 127.0.0.1:32817 127.0.0.1:1521 ESTABLISHED 4209/ora_pmon_orcl
    tcp 0 0 127.0.0.1:33425 127.0.0.1:1521 ESTABLISHED 5298/frmbld
    tcp 0 0 127.0.0.1:1521 127.0.0.1:33425 ESTABLISHED 5311/oracleorcl
    tcp 1 0 80.133.127.83:33485 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33484 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33494 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33520 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 80.133.127.83:33529 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 0 0 80.133.127.83:33528 209.132.177.100:443 ESTABLISHED 4060/python
    tcp 1 0 80.133.127.83:33460 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 1 0 80.133.127.83:33470 209.132.177.100:443 CLOSE_WAIT 4060/python
    tcp 0 0 :::22 :::* LISTEN 2968/sshd
    tcp 0 0 ::ffff:127.0.0.1:33437 :::* LISTEN 5298/frmbld
    tcp 697 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33439 CLOSE_WAIT -
    tcp 348 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33440 CLOSE_WAIT -
    [[email protected] ~]#
    The question remains: Where do those port numbers come from?
    Regards,
    jme

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

    Hi,
    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 ??
    Thanks,

    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

    Hi,
    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

    Hi,
    I am getting error The instruction at "0x679c352c" referenced memory at "0x0000001c". The memory could not be "read".
    Forms version is 6.0.8.11.3 and database version is 10.2.0.3.0
    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.
    Regards,
    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 6.0.8.28.0 (Production)
    Form Builder shows:-
    Forms [32 Bit] Version 6.0.8.11.3 (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 192.165.21.32
    port 1521
    how can I connect in oracle 11g forms builder ??

    using 192.165.21.32:1521:test in the connect string ? ( or 192.165.21.32:1521/test ) 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,
    ~Dietmar.

Maybe you are looking for

  • Cannot edit page

    I have a problem editing one page on my site. When I was publishing it the server connection was lost. Now no one can edit the page. There is no *.lck file nor do any users have a draft of the page. Contribute is not providing any error message; clic

  • Different interfaces for purchase order output from MM system

    Dear Guru's, We are configuring the business scenarios of service procurement classic and Plan driven procurement with supplier enablement in the MM-SUS environment for our SRM7.01/ECC6 ehp 5 combination. These two scenarios are using different inter

  • How do you setup the network connection on an ipod 4th gen?

    does anyone know how to setup the network connection on an ipod 4th gen. please and thank you.

  • Got through the first stage of windows installation- then trouble!

    Hi everyone! I formated the partition and it seemed to install windows. The quote below is an excerpt from the boot camp manual 'Setting Up Windows After you install the Windows software, *your computer automatically restarts using* Windows. Use the

  • HP desktop crashed and will not start

    My HP computer (P7-1268C) crashed and will not restart. After trying everything I can think of, I pressed the start button once more and the color went from blue to orange and then blank again. The computer did not overheat as it is not even warm. Pl


HashFlare