ORA-12154 in Forms 11 g (new user)

Hello

I worked with Forms 6i, but I have no experience with subsequent editions,
so I decided to install in my pc at home (windows 7 Home premium 64-bit)
Forms(64-bit) 11.1.2.00 and 11.2.0.1.0 database 64-bit.

When I go from my computer in start-> all programs-> Oracle-OraDb11g_home1-> Application-> SQL Development
It fits in a dos window, enter the user name: system/manager@loc connected ok.
loc is the alias that I gave in the tnsnames.ora file see below

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

Loc =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ora11)
)
)




I'm going to start Weblogic Server - WLS_FORMS < Server state changed to operation >


I went to C:\Oracle\Middleware\FRMHome\network\admin and copy the file tnsnames.ora
C:\Oracle\product\11.2.0\dbhome_2\network\admin\tnsnames.ora (he wasn't such a file)



When I open Form Builder and try to connect, it seems to me the message
ORA-12154 TNS: could not resolve the connect identifier specified.


Any ideas?

I'm new on Oracle Forms with Weblogic (although known with forms 6i of client-server)
Thank you.

You put the tnsnames.ora in the wrong directory, navigate to the directory of $ORACLE_INSTANCE/config and put there.

Concerning

Tags: Oracle Development

Similar Questions

  • Oracle Forms 11g - ORA-12154: TNS error

    Well, until I post my info, I searched and searched all over Google, OTN, Experts-Exchange, etc... to try and figure this one out and I am puzzled. So here goes. I get the dreaded ' * ORA-12154: TNS: could not resolve the connect identifier specified * "error. This is my environment:

    ----------------------------------------------------------------------------------------------
    Server: Red Hat Enterprise Linux 5 version performs the following:
    Oracle Database 11g (Rel 1): 11.2.0.10
    Oracle Fusion Middleware 11g (rel. 11.1.1.2.0) Forms Server

    I can connect via SQL + no problem
    ----------------------------------------------------------------------------------------------
    Client: My Windows XP Professional PC.

    I can't TNSPING the SID of the database, no problem.
    I can connect via SQL + no problem
    I can connect via TOAD to the db without problem
    I can connect to Oracle Enterprise Manager through the web interface, no problem

    I have 2 houses Oracle (Oracle 8.0.6, Oracle 11.1.0.1) on my PC. The current House is currently the 11g one. I have my background on my PC Setup very well.

    The problem is when I try to run an example of form through the web, I created, the login prompt appears and I get my name in username/password / database SID and it is, I get the error. Of the clues as to what I should look for? Ultimately it is an application that all users will access and they should not have to worry about anything whatsoever to have installed on their PC.

    Thank you

    Keep in mind that file tnsnames.ora forms 11g is under $ORACLE_INSTANCE/config

  • New user pages :) I seletced arrow shape, he does exactly that for my needs, can I now register as a form of model for easy future use please? Thank you!

    New user pages I seletced arrow shape, he made exactly that for my needs, can I now save it as a form of model for easy future use please? Thank you!

    Hi PAYGPI,

    A Pages document with some arrows. With a selected arrow Panel Format (right) organize tab > stay on the Page. You can then move around the page.

    Menu > file > save as template.

    In the model picker, rename it. I used the name clip art arrows. It appears in the template selector > my templates.

    To rename or delete a custom template (in my models) right click or control click on this model:

    Please call with questions.

    Kind regards

    Ian.

  • ORA-01031: insufficient privileges when granted access privileges to a new user

    Hello.

    When you are connected to a SYSTEM, I'm trying to create a new user and give him all the system privileges, but do so always the following error message appears:

    Cannot process the SQL command

    -

    Error at startup to the line: 123 to orders.

    SYSDBA GRANT TestUser

    Error report-

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to execute a database operation without

    the necessary privileges.

    * Action: Ask your database or the designated security administrator

    administrator to grant you the required privileges

    After clicking OK, the user is still being created, but it lacks many privileges to access.

    How can I solve this problem?

    I use Oracle SQL Developer version 4.1.2.20 and Oracle database 11g of the express edition.

    Connect as SYS, not SYSTEM to grant this priv

    Give him with extreme prejudice - it is powerful

    Note in the 12 c database we have stopped a lot of the administrative bits of the SYSDBA role in less powerful. This gives you more flexibility on who can do what in your database

    https://docs.Oracle.com/database/121/DBSEG/authorization.htm#DBSEG578

  • ORA-12154: FORMS 10G

    I am able to connect to the database using sqldeveloper (this does not use the tnsnames file) but I get the error when I tried to log in to forms 10 G. I have same tnsnames.ora copied from 6i. In forms 6i, I was able to connect and to compile my forms.

    I have read/write access to the devsuitehome folder.

    I laso tried to modify the path by using the set PATH = commands dir, including ORACLE_HOME.


    What I'm missing here?

    Assia wrote:
    I1 of database 10G, it is on the side server. Forms is installed on my local machine (C:\DevSuiteHome_1\NETWORK\ADMIN).

    XXX WORLD GROUP
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (COMMUNITY = tcp)(PROTOCOL = TCP) (Host = HODUNP52)(Port = 1530))
    )
    (CONNECT_DATA =
    (SID = XXX)
    )
    )

    above code is tnsnames.ora file database? If Yes this copy in your TNSNAMES C:\DevSuiteHome_1\NETWORK\ADMIN. ORA file (replace all)

    ORA-12154: tns misconfiguration.

    Hope it works...

    Hamid

  • Want to make a "new user" form in Acrobat using the Forms Designer, I'm going about this wrong?

    Hi all, I work in a small company and would like to have a generic template that back to new users when they start. He practices the company base on internet usage, storage of base directory, login, etc... I want that last page of a form that I fill to contain their user name, password, telephone etc... I've implemented the shape makes a .pdf file and used the form designer to implement the fields I want to have active. Now I don't know what to do. I deally, I want save a copy of the file for each user in a network folder, with their information on this subject, and the form fields locked after I'm done. I've been playing with the distribution of forms and appear not to do what I want, looks like it creates a single file with all the different updates. I want possible, or can I just keep the shape of the United Nations distributed and open / save for each user and hope that they erase their data?

    Any help would be appreciated to gratly! Thank you!

    Yes, for what you want to do create the form in Acrobat is the best way to go. Here are a few tips.

    1. to flatten the page that contains the form field, use the flattenPages method. It is documented here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.466.html

    So to flatten the last page of a document, you should do something like:

    Convert fields on the last page to the other content

    flattenPages ({start: numPages - 1});

    For more information, see the tool flatten Page content that you can download here: http://www.pdfscripting.com/public/65.cfm

    2. to save the changes in a new document, you can do this:

    Trigger the menu item save as

    app.execMenuItem ("SaveAs");

    It will require a location and a name of daughter. More information: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.143.html

    These two lines of code provide the minimum stripped for what you want.

    For the backup operation, you probably want to eventually create your own routine to SaveAs in a JavaScript file to the folder level which also contains the code that implements a custom toolbar button that implements this.

    For example (method addToolButton): http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.134.html

    and (trustPropagator for example of method w/save as): http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.168.html

    and (method trustedFunction): http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.167.html

    Create your own routine to SaveAs to silently save the file to the desired location by using a file name based on the content of one or more form fields, for example.

  • ORA-12154 as user oracle, Pentecost root account, it works very well

    Hello

    I have a problem with a client installation, if I try to connect to the database. I have the following configuration:

    1 database: running on an Ubuntu Jeos VM, Oracle 11 g (11.1.0.6.0 version 64 bit)
    2. customer: running on a CentOS 5.2 VM, Oracle 10 g Linux 32-bit Client

    I have configured the tnsnames.ora and stored in the directory of $ORACLE_HOME/network/admin. The content of the tnsnames.ora file is the following:
    ORCL64 = (Description = (ADDRESS_LIST = (Address = (Protocol = TCP)(host=192.168.12.128) (port = 1521))) (CONNECT_DATA = (SID = ORCL)))

    If I try to connect to the database as the user oracle with the following command sqlplus SYS@ORCL64 AS SYSDBA, I will get the ORA-12154 TNS: could not resolve the connect identifier specified error message. If I try the same as the root user, it works fine and I can make the connection. I have the same result if I try the command tnsping ORCL64. As user root the tnsnames adapter can resolve the alias, as the oracle user this appears not possible and I will get the error message: TNS-03505: failed to resolve the name. In both it uses the setting from the file u01/app/oracle/network/admin/sqlnet.ora. The content of the sqlnet.ora file is the following:
    NAMES of . DIRECTORY_PATH = (TNSNAMES, EZCONNECT).

    Do you have any suggestions how can I solve this problem of having a connection with the oracle user.
    Thanks in advance
    Sven

    user10252169 wrote:
    Hello

    Thanks for your replies. On the CentOS machine, where the client is installed, there is no directory $ORACLE_HOME/bin/oracle and $ORACLE_HOME/bin/lsnrctl. The output of the $ORACLE_HOME/network/admin / * ora is:

    -rw - r - 1 oracle oinstall 171 28. Apr 21:25 /u01/app/oracle/network/admin/sqlnet.ora
    WX - 1 root root 118 5. May 11:33 /u01/app/oracle/network/admin/tnsnames.ora

    The 'client' reads the tnsnames.ora to determine where the database. Looking at t he above, you have a configuration in which the user name only client able to read the tnsnames.ora is the root user. Which means that you have run the netca or netmgr as root.

    Change the tnsnames.ora to provide the appropriate, perms and then try again.

  • ORA-12154 connecting problem remotely.

    I am running Oracle 11 g on Windows Server 2008R2. I have a client (Zabbix) application running elsewhere who try to connect to it.

    The client computer has:

    * oracle - instantclient11.2 - basic - 11.2.0.3.0 - 1.i386.rpm
    * oracle - instantclient11.2 - devel - 11.2.0.3.0 - 1.i386.rpm

    And as such, it has no files tnsnames.ora or sqlnet.ora. He tries to establish a connection with the direct addressing. With a print in the php statement, I see that he calls
    H4. ociplogon (User, Password, $Connect);

    with connect is the value / / dbhostmachine:1521 / zabbix. So, everything seems good.

    #####################
    C:\Users\mdobrini > lsnrctl services

    LSNRCTL for 64-bit Windows: Version 11.1.0.7.0 - Production on 2 November 2012 13:00:55

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

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = dbhostmachine.dddd.cccc.com) (POR
    Summary of services...
    Service 'zabbix' has 1 instance (s).
    Instance 'zabbix' READY State, has 1 operation for this service...
    Managers:
    "DEDICATED" implemented: 578 refused: 0 status: ready
    LOCAL SERVER
    Service 'zabbixXDB' has 1 instance (s).
    Instance 'zabbix' READY State, has 1 operation for this service...
    Managers:
    "D000" put in place: 0 denied: current: 0 0 max: 1022 State: loan
    DISPATCHER < machine: dbhostmachine, pid: 6384 >
    (ADDRESS = (PROTOCOL = tcp (PORT = 61396))(HOST=dbhostmachine.dddd.cccc.com))
    Service 'zabbix_XPT' has 1 instance (s).
    Instance 'zabbix' READY State, has 1 operation for this service...
    Managers:
    "DEDICATED" implemented: 578 refused: 0 status: ready
    LOCAL SERVER
    The command completed successfully
    #######################

    Trying to connect locally works fine:

    #########################
    SQL * more: version 11.1.0.7.0 - Production on Fri Nov 2 13:06:31 2012

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

    Enter the user name: SYSTEM
    Enter the password:

    Connected to:
    Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production

    SQL > connect uuu/ppp@localhost/zabbix
    Connected.
    SQL >
    #########################

    However, remote, I get the popular error:

    ociplogon(): ORA-12154: TNS: could not resolve the connect identifier specified

    The strange thing is that it worked before intermittently. I would get an error every 10 seconds approximately in my application:

    30923:20121101:142237.595 [Z3001] connect to the database ' / / dbhostmachine:1521 / zabbix' failed: [-1] ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack
    dog guard 30923:20121101:142237.596: database is down

    but there was certainly data sent on the network and persisted in the comic book. After you restart the application and the server, I'm no longer able to get a connection at all and am stuck on ORA-12154. Any help would be appreciated.

    970022 wrote:
    Oops I meant ORA-12516. I would like to get intermittent errors such as:

    ociplogon(): ORA-12516: TNS:listener could not find Manager available with corresponding protocol stack

    After a few adjustments I have is no longer a problem, but it remains to be seen if Oracle increased limits will be reached again.

    EDIT: Here's an example locally:
    SQL > connect xxx/xxx@localhost/zabbix;
    Connected.
    SQL > connect xxx/xxx@localhost/zabbix;
    Connected.
    SQL > connect xxx/xxx@localhost/zabbix;
    ERROR:
    ORA-12516: TNS:listener could not find Manager available with the corresponding protocol
    battery

    Edited by: 970022 November 12, 2012 08:07

    above may result from the DB ' running out of available slots / session process.
    This may result when the application starts a new session for each single SQL issued.
    From V10, Oracle has attempted to increase the capacity of the listener.
    He does this by making the listener of the DB query to find out how many sessions, the DB's & can handle.
    Then as a listener to make new connection requests, listener increments a counter indicating how many sessions are in the bosom of the DB.
    When MAX sessions is reached, listener error to customer requesting a connection.
    Once per minute when DB registers itself with the listener, the listener gets a count of the current session.
    which results in a new request connections succeeding until the MAX session limit is found, again.

    If the application uses connection pooling, these errors are avoided.

  • Error: Unable to connect... SQLState = 08004... [Oracle] [ODBC] [Ora] ORA-12154:...

    Hi Experts/gurus,

    I am trying to create a new data source with Oracle 11 g driver with the details below:

    Name of the data source: PeopleSoft
    Description:
    The TNS Service name: HR91PEN
    User ID: sysadm
    Password: SysAdm1n

    When I click on connect Test I got this error below:

    Error:
    Unable to connect
    SQLState = 08004
    [Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connect identifier specified

    Help, please.

    Thank you very much...
    JP

    Hello

    try to use the tnsping to see if you have the connection to the database of tehe.

    Let me know.

    Kind regards
    Gianluca

  • MF hangs at startup, but works in safe mode and a few minutes after I made a new user, can anyone help?

    After a repair for a few hours, I don't always find a good solution. Actually, I've learned that if I create a user profile, with this command in windows Run: "C:\Program Files\Mozilla Firefox\firefox.exe" - p, I can open the profile user manually and create/delete menu a user new/UN-new, and the creation and use of a new, it works fine. Open the browser, in any case, in which she translates into the same problem as before for a couple of times. I made a list and compared the old files for files users a whole new and found some differences. Indeed, take

    Compatibility and .ini file extensions differ by 3 KB, with a new user being 1 and the former user 4.
    The RDF store Local file differs from 2 to a new user, 4 for a former user.
    The RDF file Mime Types differs from 3 for a new user to 4 for a former user.
    Plugin Reg(istry?) .dat differs from 17 news for 20 old ones.
    Search.JSON differs from 13 to 16 old news.
    Search Metadata.json differs from 1 new on 4 old.
    Classifier URL 3 key. txt differs from 1 new on 4 old.
    Web App Store.sqlite differs from 96 to 128 old news.
    (All units are KB)
    Because a few articles about the problem are "more maintained" and the solutions work only temporarily, I came here hoping to solve this little problem. Thanks and good luck in advance.
    -Av
    Notes; the first crash, what ID for the new user that crashed, the last is for a former user.

    If this problem just started in the last few days, I can guess that you are using google.com (or a localized variant) for your home page.

    If this is the case, the Olymoic "doodle" animation is causing crash at startup. Mozilla developers are aware of this issue and are looking into it.

    For now, change your home page, or use a blank page when opening Firefox and then press the Home button to load you the home page. A real difficulty doesn't could not be 'pushed' until after the Olympic Games are finished and Google goes back to a static doodle.

  • ORA-12154 tns could not resolve the specified correct identifier

    I am facing the following problem:

    labVIEW 2012 32 bits 64 bits of Windows 7, 10.2.0.1.0 oracle client (32-bit).

    I created a DSN from Data Sources (ODBC) (32-bit version of what in % windir%\syswow64\odbcad32.exe) pointing to an instance of Oracle 10 g.

    I have test the DSN in this way (IE. Data sources (ODBC) and the connection is successful (which means that the tnsnames.ora is correct).

    I use the "DB tools Open Connection.vi" in order to get connected to this database, passing as parameters the DSN above, the user name and password.

    I get the error:

    ADO error: 0x80040E4D
    Exception occurred in the Microsoft OLE DB provider for ODBC drivers:

    [Oracle] [ODBC] [Ora] ORA-12154: TNS could not resolve the specified correct identifier

    all will help much appreciated

    Thanks in advance

    Hello everyone.

    I already solved the problem (work until late Saturday).

    the solution was to install the latest version of the Oracle customer, namely: Oracle 11 g Release 2 CLIENT for Windows 32 (11.2.0.1.0).

    Now everything works OK.

    I also tested in Windows 7 32 bit (the .vi even and the same Oracle client). This will also OK.

    Thans a lot.

  • Setting up passwords for new users

    I am the Admin of my group. How to create a new user account (for other users) that accepts a default password (an I put) then ask to set up a new password?

    I don't have access to all the operating systems that are past their support life, but I thought that he used the same under Windows 7. Can you type net help user and see what it shows options available?  Maybe Vista doesn't.

    Here are the options I want.

    NET USER
    [username [password | *] [options]] [/ DOMAIN]
    username {password | *} / add [options] [/ domain]
    username [/ delete] [/ domain]
    username [/ TIMES: {both |}] ALL}]

    NET USER creates and modifies the user accounts on computers. When it is used
    without switches, it lists the user accounts of the computer. The
    user account information is stored in the user accounts database.

    user_name is the name of the user account to add, delete, modify, or
    view. The name of the user account can have as much of as
    20 characters.
    password assigns or changes a password for the user account.
    A password must meet the minimum length set with the
    / The command NET ACCOUNTS MINPWLEN option. It can have as
    up to 14 characters.
    * Produces a prompt for the password. The password is not
    displayed when you type it at the password prompt.
    / DOMAIN performs the operation on a domain controller of
    the current domain.
    / ADD Adds a user account in the user accounts database.
    / DELETE Removes a user account from the user accounts database.

    The options are the following:

    Description of options
    --------------------------------------------------------------------
    / ASSETS: {YES |} NONE} enables or disables the account. If
    the account is not active, the user cannot
    access to the server. The default value is YES.
    / HOW: 'text' provides a descriptive comment about the
    the user's account.  Surround the text in
    quotes.
    /CountryCode:nnn uses the operating system country code to
    implement the language files specified for a
    helps the user and the error messages. A value of
    0 means the default country code.
    / EXPIRES: {date |} NEVER} causes the account to expire if date is
    set. NEVER sets no time limit on the
    account. An expiration date is in the
    form mm/dd/yy (yy). Months can be a number,
    statements, or abbreviated with three
    letters. The year can be two or four digits.
    Use forward slashes (/) (without spaces) to separate the
    parts of the date.
    / FULLNAME: "name" is the full name of the user (rather than a
    (username). Place the quote name
    mark.
    /HOMEDIR:pathname sets the path for the home directory of the user.
    The path must exist.
    / PASSWORDCHG: {YES |} NO} Specifies whether users can change their
    password. The default value is YES.
    / PASSWORDREQ: {YES |} NO} Specifies whether a user account should have
    a password. The default value is YES.
    / LOGONPASSWORDCHG: {YES |} No.} Specifies whether users must change their
    password at the next logon. The default value is no.
    / PROFILEPATH [: path] defines a path to the logon of the user profile.
    /SCRIPTPATH:pathname is the place of the user logon
    script.
    / TIMES: {both |} ALL} this is the logon hours. TIME is expressed as
    day [-day] [, day [-day]], time [-time] [, time]
    [- time]], limited to increments of 1 hour.
    Days can be specified or abbreviated.
    Hours may be the rating of 12 or 24 hours. For
    12-hour notation, use am, pm, a.m.., or
    h ALL, a user can still log on.
    and an empty value indicates a user can never
    Open a session. Separate the date entries, time with
    a comma and split several day and time
    entries with a semicolon.
    / USERCOMMENT: 'text' Add or edit the user allows an administrator
    Comment for the account.
    / Workstations: {computername [,...] | *}
    Lists up to eight computers of
    which a user can connect to the network. If
    / Workstations has no list or if the list is *,.
    the user can log in from any computer.

  • Easy transfer - implementation of new user names

    I'm moving all my stuff to another computer using the seriously bad named 'easy' transfer - up to now very step has been atrocious.  I'm in what I thought was the last step - load data to an external hard disk in the destination computer.  On the destination computer discs had been authorized by my son, is "Virgin."   But at this last stage, I get to a command prompt in Easy Transfer which requires me to create new user names (or re - use previous) for both accounts that we already had.  But everything I put, including the old names, he says just 'mistake of creating user': the name of account, he will accept is former name of my son, and I cannot use this time.  But without giving users the two old names, he won't let me go.  There is absolutely no help available in Easy Transfer and therefore no idea whatever about what is actually wrong or how I can fix.  Help!

    Hi Colin,

    Thanks for posting your query in Microsoft Community.

    I understand from the information you have provided to us, you are facing problems with Easy Transfer in Windows Vista. I will certainly help you in this matter.

    Please check the link for the easy transfer settings.

    Transferring files and settings: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/transferring-files-and-settings-frequently-asked-questions

    Reference link:

    The problems of file transfer

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-file-transfer-problems

    If you face problems more when working with Windows Mail on the Microsoft Community Forum.

  • Commissioning of new users on TC6.2 CLI

    Hi all

    We use CUCM for provisioning where as far as I know, all users, except admin, should be configured manually to form endpoints.

    Would it not possible to supply new users through endpoints TC6.2 CLI. Currently we are able to add users only via the Web interface in "Configuration > User Administration > add a new user...". ».

    I crossed Administrator's guide and the guide to the API and found nothing on this subject. Can someone help me?

    Concerning

    Ondrej

    Ondrej salvation,

    Currently, it is not possible to create the users of TC endpoints from the web interface. Cisco has even removed the 'adduser' from the root so CLI command. So it's really not possible.

    If you really need to add users from the web interface, I suggest you to raise a feature request.  =)

    Concerning

    Paulo Souza

    Please note the answers and mark it as "answered" as appropriate.

  • ORA-12154 for sqlplus username/password@TNS but tns ping works and sqlplus username@TNS works.

    Hello-

    I am facing the following question when I try to connect by using the command prompt sqlplus for Oracle 11.2.0.3 DB installed and running on HP - UX.

    The password is not all special characters & I also tried with the double quotes which did not work.

    Following want to work with username/password@TNSNAME because I'm trying to get my application to connect to the database, the schema mentioned because it uses the jdbc connection with the connection as (username/password@TNS:1521) string.

    C:\Users>sqlplus username/Pa55w0rd@DBNAME;
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:21:43 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    ERROR:
    ORA-12154: TNS:could not resolve the connect identifier specified
    
    
    
    
    Enter user-name:
    C:\Users>tnsping DBNAME
    
    
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    016 07:21:57
    
    
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    
    
    Used parameter files:
    C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    
    
    
    
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DBNAME)))
    OK (50 msec)
    
    
    C:\Users>sqlplus username@DBNAME
    
    
    SQL*Plus: Release 11.2.0.1.0 Production on Wed Feb 10 07:22:05 2016
    
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    
    Enter password:
    
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    SQL> show user
    USER is "username"
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
    bit Production
    With the Partitioning, Automatic Storage Management, OLAP, Data Mining
    and Real Application Testing options
    
    
    C:\Users>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    content content of tnsnames.ora & sqlnet.ora:

    DBNAME =
    (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP) (HOST = server.domain)  (PORT = 1521))
        (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = DBNAME)
        )
    )
    

    # sqlnet.ora Network Configuration File: C:\app\product\11.2.0\client_2\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    
    
    # This file is actually generated by netca. But if customers choose to 
    # install "Software Only", this file wont exist and without the native 
    # authentication, they will not be able to connect to the database on NT.
    
    
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    
    
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    
    
    
    
    
    
    
    

    Thanks in advance

    Hello

    sqlplus username/Pa55w0rd@DBNAME;

    Try it without the semicolon;

    sqlplus username/Pa55w0rd@DBNAME

    Regards Thomas

Maybe you are looking for

  • OfficeJet 6500 e710n-z: scan and Fax no longer works

    Hello After working fine for a couple of years, scanner and fax on my Officejet 6500 functions do not work.  The print function is fine. Change that recent computer-wise is that I am switched to a Macbook Air (and upgraded to OS Mavericks) Macbook Pr

  • Simple CVI user interface changes

    I'm changing the UI Simple CVI (TestStand 4.1.1) and would like to have a similar functionality using the SequenceCombo and the SequenceView box as the complete UI featured the sequence list box and the box of SequenceView (STEPLISTVIEW).  So that wh

  • text in the bit stream

    Hello. I have a problem. I am transmitting the text of 64QAM modulated. And then he demodulate. I'm new with LabVIEW. I need help because I can't find a way to convert the text file string into a stream of bits which function of the QAM modulation to

  • My experience around fonts is too white and glaring.so I can't see things correctly. Can I do less glaring.

    I find the brightness of the screen more and more difficult to treat as my old eyes. My glasses are apparently ok for my eyes and my view has not changed but the glare of the screen (also the glossy magazines have become an impossibility) allows to w

  • E270 freeze randomly

    I think I posted this in the wrong forum before, so sorry for the double post: I have an e270 I used for a month or two. Last night, it ran out of battery while I was playing it. This morning, I plugged into the car charger and tried to play music. H