TNS Protocol Adaptor Error

Hi all, I need your help.
I'm using forms 10g on an oralce 10g database, the program is successfully compiled but when running it, it gives me the 12560 error "TNS: Protocol Adaptor Error"
does anybody have any idea?

Hi ,
The Oracle Doc says to take the following action in this situation:
'Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors. For further details, turn on tracing and reexecute the operation. Turn off tracing when the operation is complete'.
Simon

Similar Messages

  • Oracle 9i Database gives the error "ORA-12560: TNS: Protocol Adaptor Error"

    Hi
    I am working on Oracle9i Database, but from few days there is a problem, I can not enter in the database using SQL*PLUS or any other tool. When I give the user name and password it give the error message, that is given below:
    "ORA-12560: TNS: Protocol Adaptor Error"
    Please help me regarding this error.
    Gul Bahar Oad

    A bit generic .... In SqlPlus are you connecting from the server or from a Client ?
    Did you check if the listener is running ?
    Did you try tnsping ?
    What is your OS ?

  • Ora 12560 - TNS Protocol Adaptor Error

    Hi .
    I have downloaded Oracle 11 g from Oracle .com
    After installation i started Command line for oracle
    Used c:\> sqlplus
    After entering username and password which i set at the time on installation
    I got error
    ORA 12560 : TNS Protocol Adaptor error
    Any idea....
    Thanks

    Hello,
    You may set the ORACLE_SID first:
    set ORACLE_SID=XE
    sqlplus user/passwordElse, check for the Service OracleServiceXE in the Control Pannel. It should be started.
    Hope this help.
    Best Regards,
    Jean-Valentin

  • Ora-12560 while installing 10g standard edition tns protocol adaptor error

    hi all ,
    while i am installing oracle database standard edition on my windows xp , i got this error
    ora-12560 tns protocol adaptor error , when i got to the step of
    configuration assistants .
    -oracle net configuration assistant succeeded , but
    oracle database configuration assistant failed unfortunately !!
    please help me rapidly , i left the installer on that step until you answer me ,
    thanks in advance

    semsem wrote:
    hi all ,
    while i am installing oracle database standard edition on my windows xp , i got this error
    ora-12560 tns protocol adaptor error , when i got to the step of
    configuration assistants .
    -oracle net configuration assistant succeeded , but
    oracle database configuration assistant failed unfortunately !!
    please help me rapidly , i left the installer on that step until you answer me ,
    thanks in advance1) V10 is obsoleted & unsupported
    2) I bet that you did not follow Installation Guide & complete all prerequisites.
    3) SQL*Net is not required to manage, start, or use local Oracle DB

  • [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error

    Script: D:\Connection.vbs
    Line: 10
    Char: 1
    Error: [Oracle][ODBC][Ora]ORA-12560: TNS:protocol adaptor error
    Code: 80004005
    Source: Microsoft OLE DB Provider for ODBC Drivers
    Connection.vbs file has following contents:
    Dim strCon
    strCon = "Driver={Microsoft ODBC for Oracle}; " & _
    "CONNECTSTRING=(DESCRIPTION=" & _
    "(ADDRESS=(PROTOCOL=TCP)" & _
    "(HOST= TRISHUL)(PORT=1525))" & _
    "(CONNECT_DATA=(SERVICE_NAME=BTFLVAS))); uid=odb;pwd=odb;"
    Dim ocon1:set ocon1=CreateObject("ADODB.Connection")
    ocon1.open strCon
    ************************************************** ****************

    The Service name BTFLVAS
    It looks like you are connecting through CLient but you also have TNSNAMES.ora entry
    How do you connect?
    ODBC or Oracle Clinet?

  • TNS 12560 -Protocol Adaptor Error

    Platform : windows 2000
    Oracle: 10g
    when i stop all services of oracle, and going to connect as sysdba, it returns me TNS Protocol adaptor error,
    i thought when we connect as sysdba , oracle authenticate its password from password file and then connect with idle instance.
    kindlt guide me where i m wronge
    thanks

    This behaviour is Windows specific , service OracleService<SID> must be up and running.

  • TNS -12650 Protocol Adaptor error

    Hello everyone,
    I am facing TNS-12560 error while connecting to oracle server from client side.
    I am using VMWare workstation for practice. On one I install Oracle server on linux 4.0 & on other I install Oracle Client on Windows –XP .My server IP address is 192.168.73.129 on which the Oracle server is install & 192.168.73.130 on which client software installed. I am able to ping both machine from each other.
    But when I use tnsping command I am getting the TNS-12650 error
    When I use tnsping 192.168.73.129 I get
    TNS-12560: TNS:protocol adaptor error
    My Oracle Server tnsmaes.ora is as follows:-
    # tnsnames.ora Network Configuration File:
    home/oraeng/app/oracle/product/10.2.0/network/admin/tnsname.ora
    # Generated by Oracle configuration tools.
    BPLPRAGS=
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = bplprags)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    And my client side tnsnames.ora is as follows:-
    # tnsnames.ora Network Configuration File: C:\Oracle\product\10.1.0\Client_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    BPLPRAGS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.73.129)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = bplprags)
    When I use tnsping 192.168.73.129 from my client I got TNS-12650 TNS:Protocal adaptor error.
    Please help me out to solve this problem.

    In the same folder of your client machine, check to make sure your SQLNET.ORA specifies that it's using TNSNAMES.

  • ORA 12557 TNS Protocol Adaptor not lodable at OCI call

    Hi Gurus,
    I am not able to connect with oracle 11g data base, when ever i am updating row count its throwing this error ORA 12557 TNS Protocol adaptor not lodable at OCI Call, data base is up i am seeing the data through sql developer, even i checked the system variable path Eventhough this error is getting while testing DSN some times its showing successfull sometimes its throwing error
    0xc1
    [nQSError:46029] Failed to load the DLL
    C:\OracleBI\server\Bin\nqsdbgatewayoci10g.dll. Check if 'Oracle OCI
    10G' database client is installed.
    Please help me to resolve this errors
    Regards,
    Prasad

    Hi Kalyan,
    Thanks for your reply, i am using obiee 10.1.3.4.2 and data base is 11g, we tested this on normal system it works well after moving to the server its displaying those errors, I am connecting through TNS, In SQL Developer i am seeing the data, but in obiee i am not seeing while testing odbc connection sometimes its successfull while in physical layer if i click on view data i am geting this error ORA 12557 TNS Protocol Adaptor not lodable at OCI call. BI server not able to make a connection with database.
    Regards,
    Prasad

  • TNS: Protocol adaptor not loadable

    Hi,
    I am facing TNS: Protocol adaptor not loadable error when i am trying to login from SQLPLUS.
    But from the command prompt when I open sqlplus I am able to login. Also I am able to TNSPING my service (PROD).
    I am using Oracle 11g, This was installed along with EBS 12.1.1 My OS is Windows Server 2003 SP1.
    All my environment variables are properly set.
    I am unable to think of possible reasons.
    Thank You,
    Niranjan.

    NiranjanN wrote:
    I am facing TNS: Protocol adaptor not loadable error when i am trying to login from SQLPLUS.
    But from the command prompt when I open sqlplus I am able to login. Please clarify. Do you have two Sqlplus? Which one works and which one doesn't? Note that 11.1 does not have sqlplusw.exe, only console (command prompt) version exists.
    I am using Oracle 11g, This was installed along with EBS 12.1.1 My OS is Windows Server 2003 SP1.
    All my environment variables are properly set.Are you sure? Seems like you are "mixing homes". Does this EBS have an Oracle Client inside perhaps?
    ProcessMonitor is a good tool, with which you could find out from where files actually are loaded.
    Edited by: orafad on Jul 24, 2009 9:38 AM

  • Unable to create database due to ORA-12560, TNS protocol adapter error

    Hello,
    I'm trying to create an 8.1.7.0 database on a W2k server, but it is failing because as soon as svrmgrl is launched, I get an ORA-12560, TNS: protocol adapter error:
    D:\oracle\db_creation_scripts>D:\oracle\ora81\bin\svrmgrl @D:\oracle\db_creation_scripts\mterm62run.sql
    Oracle Server Manager Release 3.1.7.0.0 - Production
    Copyright (c) 1997, 1999, Oracle Corporation. All Rights Reserved.
    ORA-12560: TNS:protocol adapter errorEcho ON
    SVRMGR> connect INTERNAL/manager
    ORA-12560: TNS:protocol adapter error
    SVRMGR> startup nomount pfile="D:\oracle\admin\mterm62\pfile\initmterm62.ora"
    LCC-00161: Message 161 not found; product=RDBMS; facility=MGR
    My ORACLE_HOME, ORACLE_SID, and TNS_ADMIN environmental variables are correctly set, and I'm able to tnsping the listener.
    I've enabled tracing, and my client trace file is:
    --- TRACE CONFIGURATION INFORMATION FOLLOWS ---
    New trace stream is d:\trace\client_trace.log_2084_9.trc
    New trace level is 6
    --- TRACE CONFIGURATION INFORMATION ENDS ---
    --- PARAMETER SOURCE INFORMATION FOLLOWS ---
    Attempted load of system pfile source d:\oracle\ora81\network\admin\sqlnet.ora
    Parameter source loaded successfully
    Attempted load of local pfile source D:\oracle\db_creation_scripts\sqlnet.ora
    Parameter source was not loaded
    -> PARAMETER TABLE LOAD RESULTS FOLLOW <-
    Successful parameter table load
    -> PARAMETER TABLE HAS THE FOLLOWING CONTENTS <-
    TRACE_DIRECTORY_SERVER = d:\trace
    TRACE_DIRECTORY_CLIENT = d:\trace
    NAMES.DIRECTORY_PATH = (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    SQLNET.AUTHENTICATION_SERVICES = (NTS)
    TRACE_UNIQUE_CLIENT = on
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    --- PARAMETER SOURCE INFORMATION ENDS ---
    --- LOG CONFIGURATION INFORMATION FOLLOWS ---
    Log stream will be "D:\oracle\db_creation_scripts\sqlnet.log"
    Log stream validation not requested
    --- LOG CONFIGURATION INFORMATION ENDS ---
    nigini: entry
    nigini: Count in NI global area now: 1
    nigini: Count in NI global area now: 1
    nrigbi: entry
    nrigbni: entry
    nrigbni: Unable to get data from navigation file tnsnav.ora
    nrigbni: exit
    nrigbi: exit
    nigini: exit
    niqname: Hst is already an NVstring.
    niqname: Inserting CID.
    niotns: entry
    niotns: niotns: setting up interrupt handler...
    niotns: Not trying to enable dead connection detection.
    niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=BEQ)(PROGRAM=oracle)(ARGV0=oracleMTERM62)(ARGS='(DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))')))(CONNECT_DATA=(SID=MTERM62)(CID=(PROGRAM=D:\oracle\ora81\bin\SVRMGRL.EXE)(HOST=SERV0354)(USER=tarisa))))
    nsmal: 140 bytes at 0x12493f0
    nscall: connecting...
    nladini: entry
    nladini: exit
    nladget: entry
    nladget: exit
    nlpcaini: entry
    nlpcaini: prg =
    nlpcaini: arg[0] =
    nlpcaini: arg[1] =
    nlpcaini: exit
    nsmal: 420 bytes at 0x12542f0
    nsmal: 1712 bytes at 0x12572f0
    nsopen: opening transport...
    ntpcon: entry
    ntpcon: toc = 1
    sntpcall: entry
    snlpcss: entry
    ntpcon: exit
    nserror: nsres: id=0, op=65, ns=12560, ns2=0; nt[0]=530, nt[1]=2, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    nsopen: unable to open transport
    nsmfr: 1712 bytes at 0x12572f0
    nsmfr: 420 bytes at 0x12542f0
    nladget: entry
    nladget: exit
    nsmfr: 140 bytes at 0x12493f0
    nladtrm: entry
    nladtrm: exit
    nioqper: error from nscall
    nioqper: nr err code: 0
    nioqper: ns main err code: 12560
    nioqper: ns (2) err code: 0
    nioqper: nt main err code: 530
    nioqper: nt (2) err code: 2
    nioqper: nt OS err code: 0
    niomapnserror: entry
    niqme: entry
    niqme: reporting NS-12560 error as ORA-12560
    niqme: exit
    niomapnserror: returning error 12560
    niomapnserror: exit
    niotns: Couldn't connect, returning 12560
    niotns: exit
    nigtrm: Count in the NI global area is now 0
    nnfgdei: entry
    nrigbd: entry
    nrigbd: exit
    nigtrm: Count in the NL global area is now 0
    My tnsnames, listener and sqlnet.ora files are very simple:
    ## BEGIN TNSNAMES.ORA
    # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    MTERM62 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = mterm62)
    (INSTANCE_NAME = mterm62)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.3.1.75)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = mterm62)
    (PRESENTATION = http://admin)
    # LISTENER.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = serv0354)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_DESC =
    (ORACLE_HOME = D:\oracle\ora81)
    (SID_NAME = mterm62)
    TRACE_LEVEL_LISTENER = ADMIN
    # SQLNET.ORA Network Configuration File: D:\oracle\ora81\NETWORK\ADMIN\sqlnet.ora
    # Generated by Oracle configuration tools.
    TRACE_DIRECTORY_CLIENT = d:\trace
    TRACE_UNIQUE_CLIENT = on
    TRACE_DIRECTORY_SERVER = d:\trace
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    TRACE_FILE_CLIENT = client_trace.log
    TRACE_FILE_SERVER = server_trace.log
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_LEVEL_SERVER = ADMIN
    NAMES.DIRECTORY_PATH= (TNSNAMES, HOSTNAME)
    SQLNET.CRYPTO_SEED = 4fhfguweotcadsfdsafjkdsfqp5f201p45mxskdlfdasf
    Does anyone have any ideas what else I can check. I'm a Unix person, not a Windows person, which is making it even more complicated. If I was on Unix, I'd just blow everything away and start again from scratch, but since I'm not sure how to remove all traces from the registry, etc., I don't want to try that on this machine. There was already one other database created, but it's not goign to be used.
    Any help would be greatly appreciated.
    regards,
    Tarisa.

    hi,
    thanks for the info. the problem, as it turns out, was that I was connected to the db server via a terminal service (Microsoft Management Console), which for some reason caused probelms with TNS. After I connected directly to the machine using VNC, I was able to create the database with no problems. strange but true.
    regards,
    Tarisa.

  • "TNS: Protocol adapter error" while creating a database

    Hi All,
    I´m new to Oracle and trying to create a database.
    We use Oracle 8.1.7
    I´m using the Database Configuration Assistant. The problem is when creating the database I get the error:
    TNS-12560 TNS: Protocol adapter error
    Any help will be really appreciated.
    Thanks in advance,
    Carlos.

    Do you have ORACLE_HOME and/or ORACLE_SID defined in the environment which are different than the settings for the new database that you are trying to create?

  • Protocol Adaptor Error while creating a DB manually

    Hi Friends,
    In my pc already a DB is running (DBCA created db). Now I want to create a new one manually by running "create database..." script. I try to login "sys as sysdba" (after setting oracle_sid=db1) but it is giving the "ORA-12560: TNS:protocol adapter error" error. where as if I try to connect the existing db then it is getting connected. It is oracle 9i and windows XP os. Pls help me out.
    Thnx in Advance...
    Rajesh
    Message was edited by:
    RajeshBarnwal

    You have to create a new service for the new database.
    To craete databse manually:
    1)create pfile for the new database.
    Create it at default location.You can copy the pfile of existing database and modify it .
    2)create service
    ORADIM -NEW -SID db1 pfile "define pfile location"
    3)conn /as sysdba
    4)next you start the instance in nomount mode
    startup nomount pfile ='your pfile location'
    5)Create database command.

  • TNS-12560: TNS:protocol adapter error, ORA-12535: TNS:operation timed out

    I installed Oracle 9i (9.2.0.1.0) on a Windows XP machine (the machine is in a domain). There were no errors during the instalation, but I have problems connecting from the same machine using the sid. Here are some examples from a command promt:
    D:\>tnsping orcl9i
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 31-OCT-20
    08 17:43:22
    Copyright (c) 1997 Oracle Corporation.  All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = timisoara01)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl9i)))
    TNS-12560: TNS:protocol adapter error
    D:\>sqlplus "sys/pass@orcl9i as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 17:54:54 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    ERROR:
    ORA-12535: TNS:operation timed out
    Enter user-name:If I don't use the sid I can connect:
    D:\>sqlplus "sys/pass as sysdba"
    SQL*Plus: Release 9.2.0.1.0 - Production on Fri Oct 31 18:05:46 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL>If I go to services I see that the service is running: OracleServiceORCL9I Started.
    Thx.

    Yes, the XP firewall is running. During the Oracle instalation it poped up twice, but I selected 'Unblock'. I can't turn it off because it is running using the domain settings, but I can add exceptions (programs or ports). Port 1521, tnsping or sqlplus are not blocked and there is an option 'Display a notification when Windows Firewall blocks a program' witch is checked.

  • ORA-12560 TNS protocol Adapter error in 11g (11.1.0.6)

    Hello All,
    I have Oracle 11g installed on my machine and when i tried to log in to sql plus i got the error below:
    ORA-12560 TNS protocol Adapter error
    By setting the ORACLE_SID = orcl by browsing to the bin directory of Oracle Installation the above error disappaears and i am able to log in from sql plus.
    My intention is to create a db backup for which i am trying to use the exp command...this time the same error appears.
    Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
    Can anybody please help me out find a good solution for this?
    Any help would be appreciated friends.....
    Thanks in Advance!!!!!
    Regards.
    Alicia

    Also the solution of setting the ORACLE_SID is cumbersome..everytimt i want to use sql plus i need to go in and set the ORACLE_SID.
    Can anybody please help me out find a good solution for this?The solution depends on your (not specified) operating system...
    Anyway, if you have more than one database it's normal that you have to set ORACLE_SID, if not how can Oracle know which database you want to access to ?
    You can create batch files, one per database, or you can use connection strings, e.g. sqlplus username/password@<DB>.

  • ORA-12560: TNS:protocol adapter error in Oracle Forms...

    Hi, I installed Oracle developer suite to use for Oracle forms but am getting "ORA-12560: TNS:protocol adapter error" when trying to run a form. The database is running locally on my PC.
    I've run the command line to see if hostname matches up with the "HOST= " in the ".../network/admin/listener.ora " file match, they do. What can I try next? I did have Oracle 10gXE installed, which I have now removed. I'm including my tnsnames and listener file content:
    # tnsnames.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    # listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = frankenputer)(PORT = 1522))
    Thanks in advance for any help!

    Of course you found another one. Each .and every Oracle database client home (such as developer, app server) has one.
    Don't just change the port - the tnsnames.ora in the dev home does not point to a database service. It only points to an extproc [external procedure called by a database]. You need to put a database service entry into that file similar to the one in the database home. (Easiest solution - copy the tnsnames.ora from db home ... after you've made a backup)
    And please don't tell me you are using Developer 6i - a simple Google search would verify that the networking is incompatible.

Maybe you are looking for