Problems Connecting to Database in Forms Developer

Please can someone help me, I installed Oracle9i personal edition on my PC (OS XP PRO) about 4 months ago. But I've only just started using the forms developer. When I try to run the form in the browser window I can't connect to the database. The application freezes and won't respond. Occasionally I get the error message
ORA-12514 saying TNS listener cannot resolve the service name. My tnsnames.ora file seems to be correct but I'm not sure if it is in the right directory?
Can someone please give me some advice.
Thankyou.

Guys,
I have been doing this for years - on solaris, linux and windows. You have 2 Oracle homes - one for the database and one for the forms. 6i - or iDS does not matter - 2 Oracle Homes. Same on Linux/Solaris/Windows - ok.
Define the TNS_ADMIN environment variable (applies to all 3 OS above). Set it to a directory of your choice - better yet create one. On solaris and linux /var/opt/oracle is a good choice. On windows create a directory of your choice. Also define the TWO_TASK and ORACLE_SID environment variables to match your database server settings.
Ftp the database server's tnsnames.ora and sqlnet.ora files to the directory you created (TNS_ADMIN points to).
To be certain that you are not using the Forms' Home/network/admin/tnsnames.ora and sqlnet.ora files - rename them. You will not use them and you won't need them (unless you want to edit them to include the tnsnames.ora and sqlnet.ora entries from your Database server's /network/admin/tnsnames.ora and sqlnet.ora files.
That is it - next time you connect from the forms you should be able to connect. If you want provide the connect string (3rd field in the connection window) to ensure you pointing to the right db server.
You don't need to configure your Forms' network services again - all you do is use the Oracle database server's network configuration files.
Hope this proves useful.

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

  • How to connect .odb database using forms 6i`

    Hai
    I need to connect .odb database with forms 6i. Tell me the steps and settings i need to setup for running forms 6i in .odb database.

    Hi,
    .odb is openoffice.org database file or open source database file. Anybody has any knowledge on how to use Form 6i with this database file..

  • Cannot connect to database using SQL Developer

    Ok. Here are the facts:
    1) I can connect to the database using PL/SQL Developer.
    2) I wanted to try SQL Developer and I am unable to connect to the same database with SQL Developer. I provide username and password and select "network alias" and click test and I get "Network adaptor could not be established"
    3) TNS names.ora file resides on a mapped drive which clearly is accessible by PL/SQL developer but not by SQL developer.
    What am i missing?
    Thanks a lot

    If you can select a network alias, then sqldeveloper has found your tnsnames and the problem lies elsewhere.
    Is the network drive specified by a UNC? SQLDeveloper doesn't work well with unc names.

  • Interaction between Database and  Forms Developer

    Can someone tell me the how can i make a successful connection between database 9i ans developers suites 9i so that i can ru them on a computer to develop applications. if there is any procedure please let me know or send me thelink. Also tell me how to install both of them i mean the order of installation. Your help will be highly appreciated!
    Thank
    Muhammad Umair

    Install each one of them in a different oracle home.
    Once installed you need to configure a sql*net connection from the Forms oracle home.
    You can use the sqlnet easy config utility for this.

  • I am not able to connect to database in sql developer.how to do?

    I downloaded sqldeveloper 1.5.4.59.40. iam not able to establish connection to database. Can anyone tell me ?

    Have you created a database (or have one you connect to)?
    Have you created the Net Service connections for SQL Developer to use?
    Does SQL Developer have access to this Net Serviice name?
    Have you created the connections from SQL Developer?
    Can you post an error message?
    See
    <br>
    Oracle Database FAQs
    </br>

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

  • 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

  • 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

  • Problem connecting to database within an application

    We are running an application that utilizes SQL Server 2008 Standard, and has client software running on Windows 7 64-bit systems. Users access the database via the client software. There have been reported problems connecting to the database. Users can
    launch the client application, but when they go to a part of the application that connects to the database, they encounter the following error:
    Could not connect to configured database.
    Datasource name: ClinicDB
    Database: RayStationClinicDB_25189T
    Connection string: Data
    Source: 172.17.154.23\RAYTEST1,53326;Initial
    Catalog=RayStationClinicDB_25189T;Integrated
    Security=True;Persist Security Info=False;Network
    Library=dbmssocn
    Reason: Cannot open database "RayStationClinicDB_25189T"
    requested by the login. The login failed.
    Login failed for user '<DOMAIN>\<username>'.
    I have connected to the server via remote desktop, and have been able to access the database via the SQL Studio. The connection that I made is to the mghrostortest\RAYTEST1 database, and I have logged in via the sa account.   I have stopped and
    restarted the Database and the SQL Agent on the mghrostortest server.
    Does anyone have any ideas as to what further steps I should take here?

    Hello,
    To create a login using Windows Authentication, please refer to the following article:
    -- Create a login for SQL Server by specifying a server name and a Windows domain account name.
    CREATE LOGIN [<domainName>\<loginName>] FROM WINDOWS;
    GO
    For detail information, please see:
    http://technet.microsoft.com/en-us/library/aa337562.aspx
    Regards,
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

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

  • Problem connecting to database

    When I run the belwo code, though it gives me the message "Connected", when later in the program I try to use db_conn for praparing a statement, it gives me null pointer exception.
    public Connection getConnection()
    try {
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    String url = "jdbc:mysql:///" + "UNIVERSITY";
    String user = "root";
    String pass = "welcome123";
    db_conn = DriverManager.getConnection(url,user,pass);
    if((db_conn != null)&&(!db_conn.isClosed())) {
    System.out.println("Connected..."); }
    return db_conn;
    catch(Exception e) {
    System.out.println("Error in connecting to database " + e);     
    System.exit(1); }
    return null;
    I've very little knowledge of JDBC and can't fiure out what's wrong in there. Any help is really appreciated.
    Thanks

    Don't crosspost:
    http://forum.java.sun.com/thread.jspa?threadID=790394&messageID=4491427#4491427

  • Problem connecting to XE database using Forms Developer 10.1.2.0.2

    Hi
    I installed Oracle XE successfully and then Oracle developer 10.1.2.0.2.
    I can't connect to the xe database I guess because the tnsnames.ora doesn't have the correct entry for this connection.
    Can anyone help me with creating the correct tnsnames.ora entry for the xe database.
    The current entry in tnsnames .ora is,
    # tnsnames.ora Network Configuration File: C:\DevSuiteHome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = CallistoLaptop)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PLSExtProc)
    )

    Actually your tnsnames.ora does not contain any alias for DB connections (what you posted is for external procedures).
    In Developer suite menu you should have Net Configuration Assistant : use it to create an alias to connect to your DB.

  • Problem connection to database when opening Crystal Report in VB6 app

    Hi all, first post, so be gentle!
    I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it.
    Problem i have is after i installed the app on another PC. When the user tries to open the report they get an error when the report tries to connect to the database. It appears the report is trying to connect to the SQL Server using the user's AD account details, yet i set the report up with a trusted connection. I created a replica ODBC connection (as used by me when designing the report) on the users PC to see if that was what was missing. THis was set up to use the generic SQL Server logon details. Unfortubately the report is still trying to connect with the user's AD details.
    I had a bash at creating the VB commands to set the connection settings, but i couldn't get this to work.
    If anyone can help point me in the right direction or show me the correct code/steps to get th connection details correct, i'd be very grateful.
    Here is the code i have in my app:
    (Form1)
    Dim crxApplication As New CRAXDRT.Application
    Public Report As CRAXDRT.Report
    Private Sub cmdRunReport_Click()
    ReportPath = App.Path & "\" & File1.FileName
    If (File1.FileName = "SKU MTM Report - ADR.rpt" Or File1.FileName = "SKU MTM Report - BS100.rpt") Then
        Set Report = crxApplication.OpenReport(ReportPath, 1)
        Report.ParameterFields.Item(1).AddCurrentValue (Trim(DataCombo1.Text))
        Report.ParameterFields.Item(2).AddCurrentValue (Trim(DataCombo2.Text))
        Report.ParameterFields.Item(3).AddCurrentValue (Trim(DataCombo3.Text))
    End If
    frmreports2.Show
    End Sub
    (Form2 with Crystal ActiveX Viewer component)
    Private Sub Form_Load()
    CrystalActiveXReportViewer1.ReportSource = frmReports.Report
    CrystalActiveXReportViewer1.ViewReport
    End Sub
    Thanks in advance for any advice!
    Edited by: James McCaig on Feb 5, 2009 12:39 PM

    Here is an article on how to distribute the runtime using msm files. I think the articles was written in CR 9, but all applies, save the names of the msm files:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c0761-cf1d-2b10-dea4-8e83937a9337
    Note that you have to use a utility such as Wise, InstallShield, MS Visual Installer, etc., to create your deployment.
    I have also created a short wiki that describes the msm downloads for each version of CR:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsReportDesignerComponentRuntimeDistribution-Versionspre8.0.xto12.0
    Ludek

  • Issue in connection with database using SQL Developer.

    Hi,
    I am facing a problem in connecting to a remote oracle database, below are the configuration setting which i am trying to use in sql developer to make the connection
    TNS Configuration Details (SUDHIR)
    SUDHIR=
    (DESCRIPTION=
    (ADDRESS=
    (PROTOCOL=TCP)
    (HOST=52.12.xxx.xxx)
    (PORT=1526)
    (CONNECT_DATA=
    (SERVICE_NAME=sudhir)
    User : system
    Password : xxxxxxxxxxx
    Database : sudhir
    Connect as : Normal
    I got the above credential details from Onsite team I need to connect this in my local sytem SQL Developer I am proving the connection as below
    Hostname : 52.12.xxx.xxx
    Port : 1526
    Service Name : sudhir
    Username : xxxxxxxxxxxxxx
    password : xxxxxxxxxxxxx
    I get following error when say test connection in sql developer.
    "The Network Adapter could not establish the connection."
    Please suggest me using the above details how to make the connection success. Please let me know.
    Thanks
    Sudhir
    Edited by: BluShadow on 30-Mar-2012 11:56
    data anonymised by moderator

    (o_0)
    Hopefully for you, the machine is not reachable from internet !
    Your giving online everything needed to log in as system ! that is quite dangerous. I guess the "Onsite team" would be pretty mad discovering that.
    You should edit your previous post before too much people get to it.
    Regarding your problem, I guess you can't get to the machine itself (maybe in a different network).
    Can you try to ping it from your computer ?ping 51.17.130.121
    This is a made-up IP, you'll have to replace with yours

Maybe you are looking for

  • Oracle BI server is not starting in Lunix

    hi i have installed oracle BI EE in linux machine, when i try to run run-sa.sh i am getting the following error. if any know this please help me. [nQSError: 12002] Socket communication error at call=: (Number=4) Interrupted system call Regards, Sanka

  • Adding field names to spool file?

    I'd love to add the field names and "AS" labels as a header row to a spool file...here's a few lines from the spool script: --SET heading on --SET echo off --SET space 0 SET trimspool on set feedback off set termout off set heading off set pagesize 0

  • Sense Code 30C00

    I am getting Sense Code 30C00 errors when I burn a DVD with Encore CS4 and Windows 7.  The DVD drivers are current and all Windows updates have been installed.

  • Oracle 10g 10.2.0.3 in Windowz

    Hi all, I have oracle 10.2.0.3 on windows 2000, 2003, 2008  64bit servers. Are they the same on hardware architecture? What I mean is if the database in win2000 got crashed, can I recover its RMAN backup on win2003 and win2008 servers? and vice-versa

  • Printing Speed on Dot Matrix

    Hi All, One of my clients is using dotmatrix printer to print invoices but end of the month volume is too high and it takes around 2 minutes print 1 document. I have tried using Microsoft Generic Driver and it increases printer speed but disturbs rep