Coonect to database from forms module

Hi guys,
I am facing a issue while connecting from the forms to database using the DATA BLOCK WIZARD.
I am using the same user name, password to login to the database directly then it works but while connecting to forms it doesn't.
Then i thought i might be giving the wrong database name and checked the instance name with the "Select * from V$instance" query but
the instance name was same.
more details:
oracle 10 xe.
oracle forms developer suite.
error:tns could not resolve the connect identifier..
link to prntscrn :http://potupaul.webs.com/Untitled.png

Hi
did you checked the tnsnames.ora
if not try to reconfigure it using the net configuration assistant ( developer one)
or try to copy and replace the file called tnsnames.ora from the database to the developer
this file should be in this path
C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora
copy it to this path
C:\DevSuiteHome_1\NETWORK\ADMIN
* note keep backup before replacing the file in order to face any mistakes .
* path could be changes according to your installation.
khaled farouk
Edited by: Khaled Farouk on Aug 13, 2010 6:18 PM

Similar Messages

  • Not able to connect to database from Form builer

    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.

    not able to connect to database from Form builder

  • Unable to connect to database from forms or reports

    hi friends
    i installed oracle9i database and oracle 9i D2K in 2 different drives with different homes
    i am able to start database and the forms interface but i am unable to connect to the database from forms
    what might be the error please clarify it
    Bye
    Srikumar

    Thanks Farahd!
    <br><br>
    Interesting Info!
    <br><br>
    Raj<br><br>
    <b>www.oraclebrains.com<a>
    <br><font color="#FF0000" size="1">POWERED by the people, to the people and for the people WHERE ORACLE IS PASSION.</font></b>

  • Connect to remote database from forms

    hi,
    I installed 10g developer suite on windows.I have a 10g database running on HPUX server.
    I need to connect to this database from forms ( i,e from windows ).
    Do i need to install an Oracle client so that forms can talk to a remote database?
    I edited C:\Forms_Dev\NETWORK\ADMIN/tnsnames.ora to include the remote database entry. It's not working. So I am thinking maybe I need to install oracle client as a go between.
    Thanks

    Do i need to install an Oracle client so that forms can talk to a remote database?No, Tnsnames (NET8) is enough.
    Write us you tnsnames.ora or try
    tnsping <serverdb> from client, and check.

  • How to connect to an Oracle XE database from Forms

    Hello,
    I have just installed Oracle XE on my computer. After that I downloaded Oracle Developer Suite. My intention is to build programs with Forms. This forms program shall manage data stored in my Oracle XE database.
    My question is: How to connect to the Oracle XE database from forms. In forms developer I have tried to connect the database with the command Ctrl+J. Then I registered username, password and oracle instance (orcl). It will not work!
    best regards
    Håkan Axheim

    Hello,
    the tnsnames.ora must have been updated with the XE information.
    the SID for Xpress Database is always XE
    XE =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = XE)
      )Francois

  • Getting exception ORA-12705 while trying to connect to database from forms 9i

    Hello All,
    I have installed 9i database and I gave path for oracle home as Oracle_path while installing. then I installed 9i dev suite, Installer forced me to use different Oracle home, so I gave Odev_path as path.
    I have created server alias name from dev suite to Oracle database and I could connect to database from froms 9i. suddenly it started giving me the following exception when I try to connect database from forms 9i.
    ORA-12705 invalid or unknown NLS parameter value specified
    could some one help toresolve the issue.
    Thanks in advance
    Raj

    I have already seen this document and tried it out, but it didn't work. And I have tried out numerous other tips that I have found in different places on the web.
    Is the client installation of any relevance? I notice that this user has a different installation from the one that I have, and that he amongst other things doesn't have sql plus installed.

  • How can I access database from FORMS 6i?

    Dear co-developers,
    I am new to developing and just installed Oracle forms 6i but when i try to access my database schema tables from forms 6i I get TNS error saying it could not resolve the service name. I need help in two things:
    1. I wanna know how to (and where to) make appropriate change in TNSnames.ora file or any other file to make things work.(I request u to explain in detail)
    2. what is the concept of oracle homes? Oracle forms 6i takes a new oracle home. And Oracle 9i Database takes another home.
    I have Oracle 9i Release 2 installed on windows XP pro.
    Thanx in advance and looking for a quick response.
    Mukesh

    hi there,
    i wanted to know from you that are you able to access your database from sql*plus?,if yes then i will give you the step by step info on how to configure your tnsnames.ora file automatically or manually.
    Automatic step
    1.Open net 8 easy config from start menu under programs where ur forms application shortcuts are installed.
    2.if the net 8 easy config doesnt open make a windows search for the file name symcjit.dll if the file is found rename it to any other name.
    3.if after renaming the file still you are not able to open it then you have to go by the manual way.which is concluded next
    4.now you have to add the database alias here.click on the add service and press next.
    5.provide your database name here in the service name text box.dont change the port number leave as it is.
    6.now again give your database in the sid text field.
    7.hit next and test you connection with scott/tiger or any other user.
    8.if the test is succesfull exit the configurator and test you forms for connectivity.
    first try this if nothing happens i'll post the manual method.

  • Connect to Database from FORMS API  - Forms 6i

    Hi,
    We have a requirement of connecting to a Database from the Forms API. I have written few Forms API from the header files provided by ORACLE. But all of those doesnt require to connect to the database.
    Now, i have a requirement to connect to a database and query from a table and so on. I hope many of this forum users would have developed many such programs.
    Please mail me or post a reply to this thread if you have any sample program of the same from where i can take it up.
    Thanks in advance

    Thanks Sirotic.
    We are using only 6.0.8.14.1. So as per your reply i dont have the jar file at my end.
    However with the existing C API's i am not sure whether i can achieve my requirement.
    Let me explain my exact requirment.
    1) Connect to a DB
    2) Execute a Select Query to a table and fetch few values and store in a Variable
    3) Assign the value to a Trigger of a ITEM.
    Is it possible to achieve this through the existing C API or through the Java API you have suggested us. Its better if you can forward any C API stuff for this, as production environment(s) are running with 6.0.8.14.1
    Please confirm on this
    Thank you in advance.

  • 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.

  • Unable to Connect to Database from Forms/Reports 6i

    I can't find anything wrong with my TNSNAMES.ORA file, yet I can't connect to my database through forms or reports.
    The errors I keep getting is TNS-12154 and TNS-12203. Please advise. Thanks in advance.
    E

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mrs. Houser:
    I can't find anything wrong with my TNSNAMES.ORA file, yet I can't connect to my database through forms or reports.
    The errors I keep getting is TNS-12154 and TNS-12203. Please advise. Thanks in advance.
    E<HR></BLOCKQUOTE>
    Did you literally go into your tns file and put all of your specific envirnmental specifications?
    Is the listener up and running?
    Are you using the right alias?
    Hope this helps.
    null

  • Problem accessing database from form builder

    I have been trying to access my database using form builder (
    developer 6.0). Everytime, I try to connect, it displays message
    saying, no "tns listener", "incorrect driver designation". But I
    have already configured tns listener using 8i enterprise
    edition.
    I also tried to configure TNS listener using in Developer 6.0,
    but it says, "port is already in use".
    Can any one please help me with me this.
    null

    dinesh (guest) wrote:
    : I have been trying to access my database using form builder (
    : developer 6.0). Everytime, I try to connect, it displays
    message
    : saying, no "tns listener", "incorrect driver designation". But
    I
    : have already configured tns listener using 8i enterprise
    : edition.
    : I also tried to configure TNS listener using in Developer 6.0,
    : but it says, "port is already in use".
    : Can any one please help me with me this.
    Check your TNSNAMES.ORA file that located in ORACLE HOME
    FOR DEVELOPER and make sure it has right configuration
    information, otherwise configure manually.Also if DB located
    not on your machine check HOSTS file.(this file doesn't have any
    extention)
    null

  • Problem connecting to two different databases from form

    Hi all,
    i am using 6i forms which needs to be connected to oracle 9i and 10g databases which is having different ip address(residing in different machines).i can connect to 10g database after configuring tnsnames.ora in my machine but still i cannot connect to 9i database. could anyone tell me what could be the reason.
    thanks
    mish

    Hi Paul.
    thanks for your help. i could able to solve the problem. since there was a change in the ip address (administrators do it sometimes!!) i couldn't connect. now its fine. thanks once again . have a great day.
    thanks
    mish

  • How to connect to SQL Server from Forms 10g?

    Hello all,
    How do we connect to SQL Server database from Forms 10g?
    In Oracle Metalink site they have suggested using Transparent Gateway for SQL Server as a solution.
    But is there a way we can connect directly to SQL Server from Forms using an ODBC connection
    without installing anything on the database server?
    Pls help!
    Regards,
    Sam

    Hello all,
    I was able to connect to SQL Server from Oracle using Generic Connectivity (HSODBC).
    Transparent gateway was not required.
    Followed metalink note 109730.1
    So, after I created a dblink to SQL Server, I created a synonym for the dblinked SQL Server table.
    When I used the synonym as the table source in Oracle Forms, I got the following error while querying.
    "ORA-02070 - ROWID is not supported in this context."
    This is because Forms has an invisible ROWID field and when data is fetched from SQL Server table
    no Rowid is fetched since SQL Server table doesn't have one.
    Is there a way to overcome this issue or do we have populate the block manually using a SQL query ?
    Pls suggest.
    Regards,
    Sam

  • Unable to Connect database from Pro*c

    Hi,
    We had installed Pro*c in Oracle 8.1.7.0.0 server
    and in client oracle_home we set as server Oracle home directory. we are using forms5.0 and pro*c
    Now we are in the process of migration to Forms6i.
    We installed in same orant client directory.
    if we set as oracle_home as server oracle home directory. we are unable to connect to database from forms if set oracle_home as client oracle_home we unable to connect from proc.
    Please give us solution

    I have installed forms5.0 and forms 6i in Client machine in DEFAULT_HOME and we are using server oracle_home to compile pro*cs and connect to database.
    where to check tns_admin

  • Calling Discoverer 4 from Forms

    How to call a Discoverer 4 workbook (saved in the database) from Forms?
    Best regards
    Honorio Jr

    You can call a discoverer workbook from forms and pass arguments/parameters to it using web.show_document to invoke the http-call.
    refer to :
    http://download.oracle.com/docs/cd/B10464_05/bi.904/b10273/urlstart.htm#1004903

Maybe you are looking for