Please help me! Unable to connect to Oracle Database 10 g 10.2.0.3 6i

I'm new to databases.

I am trying to connect to Oracle 6i to my 10 g 10.2.0.3 Express Edition database.

Error code: ORA-12154: TNS could not resolve service name.

I'll start > > Oracle 6i > > Form Builder. Click file > > Connect > > enter username and password. I enter the name of the database as orcl. The I get the error message.

I'm using Windows Vista 32-bit. Oracle 10g 10.2.0.3.

What can I do while I am able to connect and bulid the form.

Thanking you.

Error code: ORA-12154: TNS could not resolve service name.

$ oerr ora 12154
12154, 00000, "TNS:could not resolve the connect identifier specified"
// *Cause:  A connection to a database or other service was requested using
// a connect identifier, and the connect identifier specified could not
// be resolved into a connect descriptor using one of the naming methods
// configured. For example, if the type of connect identifier used was a
// net service name then the net service name could not be found in a
// naming method repository, or the repository could not be
// located or reached.
// *Action:
//   - If you are using local naming (TNSNAMES.ORA file):
//      - Make sure that "TNSNAMES" is listed as one of the values of the
//        NAMES.DIRECTORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA)
//      - Verify that a TNSNAMES.ORA file exists and is in the proper
//        directory and is accessible.
//      - Check that the net service name used as the connect identifier
//        exists in the TNSNAMES.ORA file.
//      - Make sure there are no syntax errors anywhere in the TNSNAMES.ORA
//        file.  Look for unmatched parentheses or stray characters. Errors
//        in a TNSNAMES.ORA file may make it unusable.
//   - If you are using directory naming:
//      - Verify that "LDAP" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Verify that the LDAP directory server is up and that it is
//        accessible.
//      - Verify that the net service name or database name used as the
//        connect identifier is configured in the directory.
//      - Verify that the default context being used is correct by
//        specifying a fully qualified net service name or a full LDAP DN
//        as the connect identifier
//   - If you are using easy connect naming:
//      - Verify that "EZCONNECT" is listed as one of the values of the
//        NAMES.DIRETORY_PATH parameter in the Oracle Net profile
//        (SQLNET.ORA).
//      - Make sure the host, port and service name specified
//        are correct.
//      - Try enclosing the connect identifier in quote marks.
//
//   See the Oracle Net Services Administrators Guide or the Oracle
//   operating system specific guide for more information on naming.
$

Discover TNSNAMES. ORA file in ORACLE_HOME forms.

Tags: Database

Similar Questions

  • Unable to connect to Oracle Database 11.2 XE Beta

    Hi all:

    Try to connect to Oracle Database XE Beta 11.2, the fields are workspace, user name and password. How will I know the workspace.

    Thank you

    When you try to open a session?

    If you go to boot (http://127.0.0.1:8080/apex/f? p = 4950), should open the home page of the database.
    Now click the tab "APEX" or red button, connection on request with a user name of database, and you will have the chance to create a workspace Apex.

    See the XE getting started Guide - 6.1 [url http://download.oracle.com/docs/cd/E17781_01/admin.112/e18585/toc.htm]. Getting started with Application Express

    To explore the APEX, the Documentation Library [url http://download.oracle.com/docs/cd/E17556_01/welcome.html] for APEX 4.0 should come in handy.

    Published by: orafad on May 28, 2011 12:52

  • Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello.

    Hello

    Do you have any idea of this error, I went through a few forums, but I still got the same message.

    FDM is my server on computer A

    and my Foundation + shared on machine B


    Error: Unable to connect to the database.  Please check the databases and verify the database is accessible.

    Hello

    Browse the following post

    Failed to create the application of FDM

    (mark this message as useful or appropriate if that helps!)

    concerning

    -DM

  • Unable to make the connection with oracle (database sqlserver) non-oracle

    We are unable to connect with the database of sql server after you have created the dblink to the oracle server.

    tnsping everything works very well between the oracle and SQL Server for database, database

    Please provide us with the solution for this problem.

    The problem is that the HS_FDS_CONNECT_INFO in theinit .ora bridge was not properly configured.

    Using the format-

    HS_FDS_CONNECT_INFO =//.

    has permits the connection works.

  • No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Original title: no local network connection

    No links to the local area network connection. But how to use the Internet again, please help establish a LAN connection.

    Hi H.mustafaakyurek,

    ·         What operating system is installed on your computer?

    You can view the following items on the creation of a network connection:

    Setting up a network home

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-home-network

     

    Start here to set up a home network in Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/start-here-to-set-up-a-home-network-in-Windows-7

     

    Setting up a wireless network

    http://Windows.Microsoft.com/en-us/Windows7/setting-up-a-wireless-network

    Also see the following articles on the connection of an Internet connection:

    What do I need to connect to the Internet?

    http://Windows.Microsoft.com/en-us/Windows7/what-do-I-need-to-connect-to-the-Internet

     

    Allows to connect to the Internet mobile broadband

    http://Windows.Microsoft.com/en-us/Windows7/use-mobile-broadband-to-connect-to-the-Internet

    Hope this information helps.

  • Unable to connect to the database from Oracle Forms server

    Hello

    I installed Oracle Forms on top of Weblogic server. When I try to connect to an Oracle Forms home by TNS naming database, it returns error "ORA-12504". It works fine when I use EZConnect.

    D:\Oracle\Middleware\FRHome\BIN >. \sqlplus myuser/mypass@auhdb2

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:34 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    ERROR:

    ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA

    D:\Oracle\Middleware\FRHome\BIN > @//auhdb2/auhdb2 mypass/myuser mypasssqlplus

    SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:55 2014

    Copyright (c) 1982, 2008, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL >

    Here are the specifications of the environment:

    Server operating system: Windows 2008 R2 64-bit EA

    WebLogic: Weblogic Version 10.3.6

    Forms and reports: 11.1.2.2

    Database, I am trying to connect to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 on Windows 2003 Server

    Tnsnames configuration in D:\Oracle\Middleware\FRHome\network\admin:

    AUHDB2 =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP)(HOST = auhdb2) (PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = auhdb2)

    )

    )

    Thanks in advance.

    I want to update this post because I understood what was the matter.

    The TNSNAMES file. ORA file must be created in ORACLE_INSTANCE/config, not in %ORACLE_HOME%\FRHome\network\admin

    It was interesting for me!

  • Unable to connect to the database, check the creation of credentials 11.1.2.3 FDM

    Hi all

    I installed the Hyperion 11.1.2.3 with Oracle 11 g version. Installation and Configuration completed successfully.

    I am able to connect to Essbase, Planning, HFM. but when I try to create FDM app, I get an error message

    Unable to connect to the database, check the database credentials.

    If one is confronted with the same problem, please help me to solve this problem.

    Kind regards
    Mady

    You have added the basic data for the FDM database information in the tnsnames file, the location of the file used by EPM are defined by the TNS_ADMIN environment variable

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • FDM Create Application Error: Unable to connect to the database.

    Hello
    While trying to create a new application of FDM, I am not able to connect to the database. error: "unable to connect to the database. Please check the databases and verify the database is '. '. able to connect to the DB using the command line.

    I created the user in Oracle with access s/n (provided permissions: RESOURCE, CONNECT, CREATE SESSION, CREATE VIEW, CREATE DATABASE LINK)
    Oracle 32-bit client is installed with windows server 2008 R2 64-bit.

    I need to update the variable path or any other parameter that needs to be updated.
    Please help solve this problem.

    Hello

    I tried test the connection to the database of FDM help a 32-bit UDL file to check the 32-bit Oracle Client is installed and where the provider OLE DB for Oracle was not available.
    It was a problem with the installation of the Oracle customer 11.2.0.3, it seems that it is a known bug (NOTE > install the 11.2.0.3 Oracle OLE DB provider since the installation of Client media registers properly the provider [ID 1380742.1] Bug: 13417266 WHILE upgrading from 11.2.0.3, Setup is unable to REGISTER DLL ORAOLEDB).
    We have installed Oracle earlier version client and have seen the for Oracle OLEDB provider.
    After this created FDM application successfully.

    Thank you

  • VAIO Messenger-unable to connect to the database

    I had this problem for months. When I connect to the internet... about 10-15 minutes later... a box opens "Vaio Messenger unable to connect to the database." I'd like to just turn off Vaio Messenger. I looked up how to disable Messenger but he always States go to the settings dialog box. For the life of me I can't find a dialog box. How can I disable Messenger? How do I repair Messenger so it CAN connect to the database? Help!

    I had this problem for months. I can't change the dialog box. I can't uninstall vaio Messenger. I have so much pain to find this site, if you have a cure please write me [email protected]

  • E.M.P. 11.1.2.2 Config Error - EPMCFG-10368: unable to connect to the database.

    Hello

    I found the error when configuring EPM 11.1.2.2 below system

    Error message indicated as "EPMCFG-10368: unable to connect to the database." Check the database connection information'.

    Environment: Windows XP SP2, SQL Server 2005.

    Please help me solve the problem. Please also find the screen shot to http://ge.tt/6xqpj0L/v/0?c

    Kind regards
    Naveen

    Published by: Naveen on July 25, 2012 17:35

    Windows XP is not supported for client components not, I recommend that you install on an operating system that is supported so usually, when there is trouble connecting to SQL Server, it is down from TCP/IP not been activated, also correct for a static port, make sure that no firewalls are in place.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • two databases on the same windows machine. Unable to connect to a database.

    I installed two databases(11g) DB1 (ORCL) DB2 (DST) on windows vista. I am able to connect to the ORCL database only and connecting to the DST, I get the following error. The tnsentry is as below.
    I started the listener, and after that the DB service DST, but it did not help. I had created another LISTENER_DST auditor for the database of DST. Please advice if I am missing any action necessary.



    C:\Users\ratan > sqlplus scott/tiger@orcl

    SQL * more: Production of release 11.2.0.1.0 sat Nov 26 16:43:37 2011

    Copyright (c) 1982, 2010, Oracle. All rights reserved.


    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > exit
    Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Pr
    production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    C:\Users\ratan > sqlplus scott/tiger@dst

    SQL * more: Production of release 11.2.0.1.0 sat Nov 26 16:43:44 2011

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of


    Enter the user name:
    C:\Users\ratan > set oracle_sid = DST

    C:\Users\ratan > sqlplus scott/tiger@dst

    SQL * more: Production of release 11.2.0.1.0 sat Nov 26 16:50:02 2011

    Copyright (c) 1982, 2010, Oracle. All rights reserved.

    ERROR:
    ORA-12514: TNS:listener is not currently of service requested in connect
    descriptor of


    Enter the user name:

    Entered TNS are as below


    tnsnames.ora # Network Configuration file: C:\app\ratan\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.

    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    )
    )

    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))


    DST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = localhost))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = DST)
    )
    )

    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    )
    )


    out of lsnrctl is as below

    C:\Users\ratan > lsnrctl status

    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production November 26, 2011 16:51
    : 24

    Copyright (c) 1991, 2010, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = ratan-PC)(PORT=1521)))
    TNS-12535: TNS:operation expired
    AMT-12560: TNS:protocol adapter error
    AMT-00505: Operation timed out
    Error Windows 32 bits: 60: unknown error

    C:\Users\ratan >

    Please let me know if any information is needed to answer my question.

    Ratnesh Sharma wrote:
    I don't think that there is such a limitation. but I don't know if a single listener can work. I installed 2 db to oracle 11g on the operating system of windows vista on my pc at home.

    A single listener, with the default name for LISTENER, using port 1521 single default, is quite capable of - in fact, WAS DESIGNED FOR - several instances of several versions of several ORACLE_HOMEs service. Having several headphones rarely accomplishes nothing except confusion between the diagnostic process, as your case showed clearly.

    A listener is simply a broker for connection requests. Having a listener for each database on a given server is the equivalent of the telephone company, creating and maintaining a separate table for each telephone number in the system

    You must read http://edstevensdba.wordpress.com/2011/03/19/ora-12514/

  • Unable to connect to the database instance: ORA-28001: the password has expired

    Hi all

    I'm on oracle 11g grid.


    I get unable to connect to the database instance: ORA-28001: the password has expired (ERROR of DBD: OCISessionBegin) error.

    I checked and found that my user dbsnmp expired password. I found the page on the grid control to change the password of user dbsnmp.

    but I want to know. If I changed dbsnmp password using the grid control. Is there any other task I have to do after the change of user dbsnmp password.

    Please let me know.


    Thank you

    Hi PK,.

    If GC can reuse the monitored GENERAL to connect to the database account I can't think of anything you should do.
    The database, what has happened is an 11g database? If so the security policy has been changed in this version, which means that in half a year you will still have a locked account of DBSNMP.

    If your company security policy allows, you can avoid this by changing the password_life_time to an unlimited number of default profile:
    change the default profile limit password_life_time unlimited;

    Eric

  • Unable to connect to the database instance: ORA-02391: exceeded IS simultaneous

    Hello

    I get continually alert to OEM:

    Unable to connect to the database instance: ORA-02391: simultaneous exceeded SESSIONS_PER_USER (DBD ERROR: OCISessionBegin).

    I run the query, but has not found any sesion in the database:

    SQL > select username, count (*) from v$ session of the Group of user name.

    COUNT (*) USERNAME
    ------------------------------ ----------
    SYS 1
    8
    Could you please help me solve this problem?

    Thank you
    Gulshan

    Listener.log file saves connection applications
    compare the timestamps in listener.log with the alert_SID.log file to determine the culprit

  • RCU error: unable to connect to the database using the contact information provided

    Hello

    I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.

    rcu.PNG

    Concerning

    Oumaima

    Hi Handal

    Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.

    Thank you

    Oumaima

  • Java class to connect to Oracle Database Express Edition11g and URL

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    I'm just starting to learn Java and with it, learn how to use the Oracle Database Express Edition11g and with it the Oracle SQL Developer...

    At this point, I have the Express Edition is installed and the SQL Developer installed and were able to establish a connection and to run a query and get a result.

    I use Eclipse for JAVA.  I have a work of class that performs a query on a database/table in MySQL.

    So now I'm eager to make the same use as the database Oracle Database Express Edition11g engine.

    And this means that two different versions of JAVA that I need to get the right to be able to do.

    The first is the value of the url variable.

    I now like

    String url = "jdbc:oracle:thin:@localhost";

    then

    Class.forName ("oracle.jdbc.OracleDriver");

    and then

    Connection connection = DriverManager.getConnection (url);

    The thing I'm puzzled on is in the URL where I 'localhost' was supposed to be the term generic and not so much as the text, you should use.

    I see in Web sites like 3 connection to Oracle Database XE

    and decrease example 3-2 by specifying the URL of database using the XE Client Setup

    There I see

    JDBC:driver_type: [username/password] @[//]host_name[: port] [XE]]

    And just what is and what is not is explained here.  So what I ended up with was

    String url = "jdbc:oracle:thin:@localhost";

    So if it was just a text to rest for a name I wonder just such a value or name might really where.

    I noticed that view that an app called "Oracle JDeveloper" has been used to create the values.   I don't have such a thing, or at least I don't think I do.

    Do I need?

    I have Oracle SQL DEVELOPER, where I used the following to connect to the database of the XE.

    My choice for Oracle's SQL Developer Help

    Name of connection: Connection1

    User name: Rod

    Password: myOracle11

    Host name: localhost

    Port: 1521, which is the default value

    SID: xe

    Above so I have to host name set to localhost

    Can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?

    1. I do nothing

    2. While wouldn't you say it

    3. no results from the earlier assignment.

    I asked "'can I use Oracle SQL Developer to do or use it as the value of the URL for the host name?" "

    I showed the choice that I used in SQL Developer to connect to the schema.  And I was wondering, now that I had done this case those are the values that I could use in the Java class that I wrote.  The web site in the first post of this thread showed connection but he was using JDeveloper and SQL Developer.

    So I was wondering if the connection that I made using SQL Developer would do the same trick, and if I could use the values I did there.

    I'm happy to announce that YES, The values used to connect using SQL Developer work exactly like JDeveloper.

    So, given that in SQL Developer for Hostname I chose the value "localhost" "Rod" Username and password "myOracle11".

    I did the following JAVA CLASS that worked:

    package VC_2_9;

    Java for COBOL - copyright 1999 Doke & Hardgrave programmer

    import java.sql. *;

    public class DataBaseDemoOracle

    {

    Public Shared Sub main (string args [])

    {

    String CUST_LAST_NAME;

    / * String url = "jdbc:mysql://localhost/visualcafe";                     */

    String url = "JDBC: thin: @localhost';"

    / * String sqlQuery = "SELECT Name, SSNo, address, telephone OF THE customer;    */

    String sqlQuery = "SELECT CUST_LAST_NAME FROM DEMO_CUSTOMERS";

    //                                               |||||||||||||||

    Try

    {

    Class.forName ("oracle.jdbc.OracleDriver");

    Connection connection = DriverManager.getConnection (url, "Rod","myOracle11" ");

    Statement statement = aConnection.createStatement ();

    ResultSet rs = aStatement.executeQuery (sqlQuery);

    Boolean more = rs.next ();

    (more)

    {

    CUST_LAST_NAME = rs.getString (1);

    /* */

    System.out.println ("name:" + CUST_LAST_NAME);

    more = rs.next ();

    }

    RS. Close();

    aStatement.close ();

    aConnection.close ();

    }

    catch (ClassNotFoundException e)

    {System.out.println ("Exception caught" + e) ;}}

    catch (SQLException e)

    {If (e! = null)}

    {System.out.println ("SQLException taking" + e);}

    e = e.getNextException ();

    } / / end of while loop

    } / / end of capture

    } / / main end

    } / / end DataBaseDemoOracle.java

Maybe you are looking for

  • How can I remove duplicate calendars displayed in my list of calendar on my MAC?

    How can I remove duplicate calendars displayed in my list of calendar on my MAC? OS X Version of El 10.11.6 (15-1004) MacBook Pro (17-inch, mid 2010) Intel Core i5 to 2.53 GHz 4 GB 1067 MHz DDR3 Macintosh HD

  • Satellite A350D-10Y - failure of the external graphics card?

    Hello guys,. I have a toshiba Satellite A350D-10Y and I get some sounds of the sound system of the laptop, but a kind of Mermaid on the mother, accompanied by lights driver dvd, map emitte acoustics is two short beeps. I'm getting these two short bee

  • Statistics express vi with a table input

    I try to get statistics for a table of elements, with statistics express vi. I used the waveform of the construction, in order to connect the table as input for the express vi, but this only uses the last value of the array instead of the sum of all

  • Two threads in a Panel

    HelloI am developing a vision with CVI application that loads the files. VBAI after login... the application interface has two positions (left and right)... I want the two buttons START calls the same function CVICALLBACK (Inspection)... and this fun

  • Search for temporary files in the Expplorer folder

    I'm used to looking for all temporary files in file Explorer (such as ~ $areness_JPH.doc, ~ $areness_JPH.docx). I find with the stream "~ *.» "*" (quotes included). It works in certain drive/directory, but not the others. In general, this does not wo