ORA-12514 Error coming whenever trying to connect to database in TOAD

Hi,
When i'm logging in database(10g) through TOAD, i'm getting the error as:
"ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor"
My listener.ora contains
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
My tnsnames.ora contain:
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
The listener status is as follows:
Welcome to LSNRCTL, type "help" for information.
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 05-OCT-2008 06:40:42
Uptime 0 days 0 hr. 16 min. 31 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
ra
Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
The database is up and running and I've stopped-started the listener.
Still the error occurs. Could anyone suggest what can be done.
Regards,
Souvik

The error basically means that the connection service which you are requeting in your connection string is not yet to known to the listener of yours. See here the output of the listener's supported services from your post.
Listening Endpoints Summary...
+(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))+
+(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))+
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
It clearly shows that the listener is only working to listen for the PLSExtproc service which is meant for external procedures.
Is the database just started? If that's the case than it may take a while to get the PMON register the db with the listener. Or you can issue,
alter system register from your db's sql prompt which can ask listener for immediately register the db with it. Try this command and post feedback. If that won't work than you may have to manualy register your db with the listener.
HTH
Aman....

Similar Messages

  • ORA-12705 Error Message while trying to connect to the DB

    A colleague of mine has been trying to connect to the DB through PL/SQL Developer. The error message returned is :
    ORA-12705: invalid or unknown NLS parameter value specified
    Checked the registry for NLS_LANG which is set to NA. I did that because the ORA message references the NLS_LANG parameter. However, I doubt that is the problem. Went about to create a new TNS Name entry through Oracle NET Manager and get the same Error Message while performing the TEST function.
    Any clues ? I am clueless at this point.

    This can occur with any NLS_ environment variable of registry value.
    Your assertion ' the ORA message references the NLS_LANG parameter' is incorrect.
    You can set NLS_TERRITORY, NLS_DATE_FORMAT etc, etc, etc.
    The order of precedence is environment variable, registry, Oracle provided default.
    To find out what is going on set every NLS related environment variable to the empty string.
    In sqlplus
    select * from v$nls_valid_values
    will show you what can be set,
    This error will also occur when you installed the software with English as the only language.
    SQL developer doesn't use tnsnames.ora
    The new tnsname entry has nothing to do with it.
    You have an incorrect environment variable or registry value somewhere
    (in HKLM\software\oracle)
    Sybrand Bakker
    Senior Oracle DBA

  • Unidentified error occurred when trying to connect to database (was: Dreamweaver issue )

    I am unable to connect to  a database. I get the following error
    "An unidentified error occurred".
    This is a test server that I am setting up.  My directory structure looks as follows:
    All my files reside in C:\users\Badri\My Documents\Unamed Site 2
    I have Apache web services running and the _mmServerScripts is in the htdocs directory (Apache root directory). My SQL is
    I am sure that something is not configured correctly, but I am not sure what?
    Thanks
    Badri

    If your testing server is XAMPP or MAMP, you should put your site files in the htdocs folder of your local testing server.
    C:\xampp\htdocs\YourSiteName
    C:\mamp\htdocs\YourSiteName
    If you use WAMP server, you should put your site files inside www folder.
    C:\wamp\www\YourSiteName\
    These are the default directories used by localhost when previewing in browsers.
    Then define your local testing server in DW.  See screenshots.
    Advanced tab:  Testing Server model.
    If you haven't already, log-in to your local server's phpMyAdmin to create an SQL database and table.
    PHP MySQL Tutorial: Create a Database and Table in phpMyAdmin -HD- - YouTube
    Nancy O.

  • ORA-12514 error while connecting to server

    I am using instantclient to connect to Oracle 9i server.
    The connection string is given using this format
    //host:[port][service name].
    In our development environment we can successfully connect to the server. But the connection fails in the production environment giving ORA-12514 error. This occurs even when we copy the instant client dll's onto separate folder and set the library loading path to this folder.
    Can u please help me in resolving this problem.

    Vinay,
    Since you are using Windows, are you setting PATH (the lib loading path of Windows)?

  • ORA-12514 Error in remote office

    I installed and created a 10g (rel2) database while connected to my office's network. Because my company uses DHCP I had to create a loopback connector and give it a fixed IP address. Everything went as expected.
    Now I've travelled to a remote location and, even though the Oracle instance is on my laptop, I'm getting an ORA-12514 error (TNS:listener does not currently know of service requested in connect string). I'm using Windows XP Pro and this is what I get from doing a lsnrctl status:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-JAN-2008 14:29:25
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    This is my listener.ora file:
    # listener.ora Network Configuration File: C:\Ora10gHomes\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:\Ora10gHomes\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521))
    As you can see, it isn't creating a service for anything other than the EXTPROC entry. I tried doing a TNSPING on the SID (LAKOTA) and got this:
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 14-JAN-2
    008 14:24:50
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Ora10gHomes\DevSuiteHome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lakota.cgifederal.com)))
    OK (40 msec)
    So now I'm stumped. I've tried stopping and starting the listener, but nothing changed. Is it because I'm physically connected to a different network than when I installed the software and created the database? If that's the case, is there a work-around because I'm going to be travelling a LOT more than I'm going to be in the home office and I need access to my oracle instance no matter where I am or what backbone I'm connected to. Any and all assistance gratefully appreciated.
    Leigh Smith

    You are trying to connect to a service named: lakota.cgifederal.com but from the output of the listener status it can be seen that the instance has not yet been registered against the listener. Your listener is at 1521 port, this means that can be self registered against it. Just make sure your instance is started.
    There is a command to force instance registration, it is from the sql command prompt connected with either sys or system issue: alter system register Automatic instance registration should take less than a minute, if after the time has expired and issuing the command don't work, then if required, instead of relying on automatic instance registration, you can change it to be manually configured. You can do this from the network manager.
    ~ Madrid

  • ORA-12514 Error when using Net Configuration Assistant

    I have recently installed Oracle 11g on a Windows 2008 server and am now trying to connect via the Oracle client on my local machine.
    Here is how I've been using Net Configuration Assistant so far:
    Listener Configuration
    The name of my listener is LISTENER_PROXIMA (proxima is the name of the server). Does this need to be named something else? Something specific?
    I'm using TCP to connect.
    I'm using standard port 1521.
    Naming Methods
    Local Naming and Easy Connect Naming
    Local Net Service Name
    Service name is ADMI04 (checked this against the lsnrstl service status on the server and it's correct)
    Using TCP
    Using the hostname proxima.domain-name.com
    I'm attempting to connect as SYS (but have tried others with the same result)
    When I go to test the connection I keep getting the ORA-12514 error. Does anyone know what I should do? Reinstall the listener? If so, are there any suggestions or guidance for that?
    Thank you.

    =================================
    A couple of important points.
    First, the listener is a server side only process. It's entire purpose in life is to receive requests for connections to databases and set up those connections. Once the connection is established, the listener is out of the picture. It creates the connection. It doesn't sustain the connection. One listener, with the default name of LISTENER, running from one oracle home, listening on a single port, will serve multiple database instances of multiple versions running from multiple homes. It is an unnecessary complexity to try to have multiple listeners or to name the listener as if it belongs to a particular database. That would be like the telephone company building a separate switchboard for each customer.
    Second, the tnsnames.ora file is a client side issue. It's purpose is for address resolution - the tns equivalent of the 'hosts' file further down the network stack. The only reason it exists on a host machine is because that machine can also run client processes.
    Assume you have the following in your tnsnames.ora:
    larry =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = curley)
      )Now, when you issue a connect, say like this:
    $> sqlplus scott/tiger@larrytns will look in your tnsnames.ora for an entry called 'larry'. Next, tns sends a request to (PORT = 1521) on (HOST = myhost) using (PROTOCOL = TCP), asking for a connection to (SERVICE_NAME = curley).
    Where is (HOST = myhost) on the network? When the request gets passed from tns to the next layer in the network stack, the name 'myhost' will get resolved to an IP address, either via a local 'hosts' file, via DNS, or possibly other less used mechanisms. You can also hard-code the ip address (HOST = 123.456.789.101) in the tnsnames.ora.
    Next, the request arrives at port 1521 on myhost. Hopefully, there is a listener on myhost configured to listen on port 1521, and that listener knows about SERVICE_NAME = curley. If so, you'll be connected.
    What can go wrong?
    First, there may not be an entry for 'larry' in your tnsnames. In that case you get "ORA-12154: TNS:could not resolve the connect identifier specified" No need to go looking for a problem on the host, with the listener, etc. If you can't place a telephone call because you don't know the number (can't find your telephone directory (tnsnames.ora) or can't find the party you are looking for listed in it (no entry for larry)) you don't look for problems at the telephone switchboard.
    Maybe the entry for larry was found, but myhost couldn't be resolved to an IP address (say there was no entry for myhost in the local hosts file). This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe there was an entry for myserver in the local hosts file, but it specified a bad IP address. This will result in "ORA-12545: Connect failed because target host or object does not exist"
    Maybe the IP was good, but there is no listener running: "ORA-12541: TNS:no listener"
    Maybe the IP was good, there is a listener at myhost, but it is listening on a different port. "ORA-12560: TNS:protocol adapter error"
    Maybe the IP was good, there is a listener at myhost, it is listening on the specified port, but doesn't know about SERVICE_NAME = curley. "ORA-12514: TNS:listener does not currently know of service requested in connect descriptor"
    =====================================

  • ORACLE XE ora-12514 error

    Hi all,
    I have installed the oracle xe in my windows xp machine. for some reason i have shut down the oracle and given "startup restrict" mode, but it is thrown the below mentioned error
    "SQL> startup restrict;
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    please help me.
    Thanks

    The reason why this error shows is because oracle is self-registered against listener, so when it shuts down the listener deregisters the instance and any further attempt to contact it will result in an ORA-12514 error.
    Once the instance is restarted it will contact again the listener and will registers against it once more. This process will take no more than 60 seconds, but you can force it by issuing the command:
    ALTER SYSTEM REGISTER;
    ~ Madrid

  • Ora-12154 when trying to connect to database from fortran application

    I am trying to connect to database and run an simple select query to a table(without any where clause) using pro*fortran code.
    the connect strng is like
    exec sql connect :uidpwd
    where uidpwd = username/password@SID
    SID and tnsnames connect string are the same.
    The fortran (profortran) code is placed in the database server and there are no errors when make is run.
    Tnsping is working fine, also i am able to conect using sql*plus and run the same query.
    Please help
    Thanks and Regards
    Nitin

    Hi Nitin
    Thanks for the helpful! With your point I'm now Pro! Great thanks.
    By the way have your seen that?
    Files such as LISTENER.ORA, TNSNAMES.ORA, SQLNET.ORA, if configured manually, or copied and edited from earlier releases of Oracle Database may have record attributes that are incompatible with Oracle Database 10g release 2. The software cannot read such files. The required record format is stream_lf and the record attributes are carriage_control and carriage_return.
    This may result in:
    Inability to start the listener
    Services not registered with the listener
    Inability to connect to other databases
    ORA-12154: TNS:could not resolve service name
    Run the following command on each file affected:
    $ DIR/FULL filename
    An output similar to the following may be displayed:
    Record format: Variable length, maximum 255 bytes
    Record attributes: Carriage return carriage control
    If the output includes the preceding entries, then run the following command:
    $ CONVERT/FDL=SYS$INPUT filename filename
    RECORD
    CARRIAGE_CONTROL CARRIAGE_RETURN
    FORMAT STREAM_LF
    ^Z
    Otherwise herewith an interesting metalink note. Doc ID:      Note:437597.1
    Subject:      Ora-12154 When Executing Pro*Fortran Code Compiled With Oracle 10g.
    Hope this will also help you...
    Cheers
    Hubert

  • ORA-28545: error diagnosed by Net8 when connecting to an agent

    Dear all,
    This question has been asked many times in this forum, and I have gone to many threads in this forum, but unfortunately i failed.
    I want to connect to MySQL database from oracle. I have the following configurations.
    Oracle database enterprise edition 12c  (12.1.0.2.0) 64bit on Windows server 2012 64bit
    i have MySQL 5.6.11 on windows 7 64bit
    i have downloaded ODBC driver from oracle delivery site (MySQL Connector/ODBC 5.3.4 MSI for Windows x86 (64bit))
    i install the ODBC on my oracle server, a full installation which install the Unicode and Ansi versions both.
    i create ODBC connection for Unicode by going to Control Panel-->Administrator Tools-->ODBC Data Sources (64-bit)-->System DSN. i test it and the test was successful.
    i configure my Listner.ora, Tnsname.ora and initmysql.ora files as below;
    Listner.ora
    SID_LIST_LISTENER =
    (SID_LIST =
       (SID_DESC =
       (SID_NAME = CLRExtProc)
       (ORACLE_HOME = c:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = extproc)
       (ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
      (SID_DESC=
       (SID_NAME = mysql)
       (ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = dg4odbc)
       (ENVS=LD_LIBRARY_PATH = C:\app\Administrator\product\12.1.0\dbhome_1\LIB)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
    Tnsnames.ora
    PDBORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = pdborcl.hct.org)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.hct.org)
    mysql =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02)(PORT = 1521))
        (CONNECT_DATA =
        (SID = mysql)
        (HS = OK)
    initmysql.ora ( C:\app\Administrator\product\12.1.0\dbhome_1\hs\admin\)
    HS_FDS_CONNECT_INFO = mysql
    HS_FDS_TRACE_LEVEL = OFF
    then i stop and start the listener, the listener status is below
    LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2015 09:16
    :52
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ORADEV.hct.org)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Produ
    ction
    Start Date                23-APR-2015 09:13:56
    Uptime                    0 days 0 hr. 2 min. 59 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   c:\app\Administrator\product\12.1.0\dbhome_1\network\a
    dmin\listener.ora
    Listener Log File         c:\app\Administrator\diag\tnslsnr\ORADEV\listener\aler
    t\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORADEV.hct.org)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mysql" has 1 instance(s).
      Instance "mysql", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    tnsping MySQL
    TNS Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2
    015 09:17:54
    Copyright (c) 1997, 2014, Oracle.  All rights reserved.
    Used parameter files:
    c:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02
    )(PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS = OK))
    OK (40 msec)
    then i open sqlplus and connect to my pluggable database as sys user and create a public database link for the test schema which i already created in MySQL database.
    create public database link mysql connect to test identified by test using 'mysql';
    then i try the table1 which is in test schema in MySQL from sqlplus as below
    SQL> select * from table1@mysql;
    select * from table1@mysql
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYSQL
    i have tried both the Ansi and Unicode versions of ODBC but the same issue.
    where is the problem in my configuration?
    Thank you.

    ODBC
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\mysql]
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "SERVER"="10.153.102.98"
    "UID"="test"
    "PWD"="test"
    "PORT"="3306"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "mysql"="MySQL ODBC 5.3 Unicode Driver"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 ANSI Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5a.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 Unicode Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Core]
    "UsageCount"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "SQL Server"="Installed"
    "Oracle in OraDB12Home1"="Installed"
    "MySQL ODBC 5.3 ANSI Driver"="Installed"
    "MySQL ODBC 5.3 Unicode Driver"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Translators]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraDB12Home1]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectFunctions"="YYY"
    "Driver"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORAS32.DLL"
    "SQLLevel"="1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\SQL Server]
    "CPTimeout"="60"
    "SQLLevel"="1"
    "DriverODBCVer"="03.50"
    "APILevel"="2"
    "ConnectFunctions"="YYY"
    "Setup"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,71,00,6c,00,73,00,72,00,\
      76,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "UsageCount"=dword:00000001
    "Driver"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,51,00,4c,00,53,00,52,00,\
      56,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "FileUsage"="0"
    Thanks

  • ORA-03113 when trying to connect to database

    RDBMS Version:: 9.2.0.6
    Operating System and Version:: Win2003 Small Business Server
    Error Number (if applicable):: ORA-03113
    Server Net Version:: 9.2.0.6
    Client Operating System and Version:: Solaris10
    Client Net Version:: 2.1.3
    ORA-03113 when trying to connect to database
    I've currently a 7.1.3 client on SUN Solaris (5.10 Generic_118844-26 i86pc i386 i86pc) where I want to connect to the 9.2.0.6 database on a Win2003 Server hardware.
    When i try to connect via SQL*Plus (Release 3.1.3.4.1), I get ORA-03113. Looking into the listener resp. alertfile on the server, I can see that the connectiorequest is recognized, but immediately answered by an ORA-0600, producing also trc-files.
    listener: 25-MAI-2007 09:37:23 * (CONNECT_DATA=(SID=HTASQL)(CID=(PROGRAM=)(HOST=eklvpa)(USER=sat250))) * (ADDRESS=(PROTOCOL=tcp)(HOST=172.17.233.3)(PORT=32790)) * establish * HTASQL * 0
    alert: ORA-00600: internal error code, arguments: [12333], [26], [0], [115], [], [], [], []
    Activating traces on the client-side showed the following errors:
    -<ERROR>- ntus2err: sd=8, op=1, resnt[0]=511, resnt[1]=2, resnt[2]=0
    -<ERROR>- nserror: nsres: id=0, op=65, ns=12541, ns2=12560; nt[0]=511, nt[1]=2, nt[2]=0
    -<ERROR>- nsopen: unable to open transport
    -<ERROR>- nsprecv: transport read error
    -<ERROR>- nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0
    -<ERROR>- osnqrc: wanted 1 got 0, type 0
    -<ERROR>- osnqper: error from osnqrc
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12537
    -<ERROR>- osnqper: ns (2) err code: 12560
    -<ERROR>- osnqper: nt main err code: 507
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqsm: send-break: failed to send OOB break...
    -<ERROR>- osnqper: error from send-marker
    -<ERROR>- osnqper: nr err code: 0
    -<ERROR>- osnqper: ns main err code: 12583
    -<ERROR>- osnqper: ns (2) err code: 0
    -<ERROR>- osnqper: nt main err code: 0
    -<ERROR>- osnqper: nt (2) err code: 0
    -<ERROR>- osnqper: nt OS err code: 0
    -<ERROR>- osnqbr: returning 3113
    Can anybody help me in determining the problem ? Is there a systemtic incompatibility in connecting a 7.1.3 client to a 9.2 (or even higher) database ?

    Thanks for your reply.
    But the funny thing on this compatibility issues is, that this configuration worked before. The only thing we did, was to setup the client-PC on a new hardware with also a new operating system (upgrading from Solaris 5.8 to 5.10). And from that time we encountered this problem.
    Are there any OS-related problems known or better to say: is (was) ORACLE 7.1.3 supported on Solaris 5.10 ? Should we look for any patches which might help us ?

  • ORA-28545: error diagnosed by Net8 when connecting to an agent error

    Hi,
    I've to setup the Oracle Gateway service in order to access the SQL Server 2005 db from Oracle11g 11.1.0.7.0 db which is running on a LINUX os.
    Basically, i've to periodically PULL data from SQL Server to oracle.
    Have done the necessary setup as specified in Oracle docs.
    1. Oracle ini file: initdg4msql.ora
    HS_FDS_CONNECT_INFO=999.168.0.1:1433//SqlServerDb
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=sqlserver_user_id
    HS_FDS_RECOVERY_PWD=sqlserver_user_password
    2. listener.ora entry
    LISTENER_GATEWAY =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = oracle.portal.internal)(PORT = 1522))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = OBIM1)
    (ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
    (SID_DESC =
    (SID_NAME = dg4msql)
    (ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
    (ENVS=LD_LIBRARY_PATH=/app/oracle/product/11.1.0/db_1/dg4msql/driver/lib;/app/oracle/product/11.1.0/db_1/lib)
    (PROGRAM = dg4msql)
    3. tnsnames.ora entry
    dg4msql =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = tcp)(HOST = oracle.portal.internal)(PORT = 1522))
    (CONNECT_DATA =(SID = dg4msql))
    (HS = OK)
    4. Create database link on oracle
    create public database link sqlserver connect to "sqlserver_user_id" identified by "sqlserver_user_password" using 'dg4msql';
    Database link created.
    Upon the completion of the configuration, I did the following and all are successful and working:
    - starting the listener by
    lsnrctl start LISTENER_GATEWAY
    - tnsping my gateway
    tnsping dg4msql
    However, when I tried to retreive data and got the following error:
    SQL> desc myTestingTable@sqlserver;
    ERROR:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    I have stepped through the doc of "How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11" but unable to figure out where the error lies.
    Any inputs on this?? please help, I am in urgent.

    Hi Mike,
    As suggested, I have tried both formats with the spaces at the front. When I tried to start the listener, still get the error as show below:
    Starting /app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.1.0.7.0 - Production
    System parameter file is /app/oracle/product/11.1.0/db_1/network/admin/listener.ora
    Log messages written to /app/oracle/diag/tnslsnr/p1db01/listener_gateway/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.portal.internal)(PORT=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
    TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    As answers to your points -
    - you have the HOST defined as -
    (HOST = oracle.portal.internal)
    is this the actual host name or did you change it to hide it in the post ?
    *** It is just a mark up host for security reason
    - what happens if you use the IP address instead of the hostname ?
    *** Have tried the IP address but same error
    - is the gateway installed in the directory /app/oracle/product/11.1.0/db_1 ?
    *** Yes
    - can you set up listener level 16 tracing and check the trace file for further information about the errors ? Add this to the listener.ora file -
    trace_level_listener=16
    and start the listener.
    *** Have added the trace level 16 and tried to start the listener but same error. Please refer the snapshot from the log.xml. Please note that the host_id "oracle" is just a make-up.
    <txt>Listener completed notification to CRS on start
    </txt>
    </msg>
    <msg time='2010-04-17T15:37:56.544+10:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oracle'
    host_addr='99.999.99.99'>
    <txt>
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    </txt>
    </msg>
    <msg time='2010-04-17T15:37:56.545+10:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oracle'
    host_addr='10.254.84.32'>
    <txt>TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
    NL-00305: the specified path name does not exist
    </txt>
    </msg>
    - I have repeated the same steps above by changing the SID_LIST_LISTENER_GATEWAY back to SID_LIST_LISTENER parameter in LISTENER.ORA
    The listener can be started but back to square one with ORA-28545 error as show below:
    SQL> desc myTestingTable@sqlserver;
    ERROR:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from SQLSERVER
    Thanks

  • Once again - ORA-28545: error diagnosed by Net8 when connecting to an agent

    I'm trying to connect to a SQL server 2012
    I've make the ODBC connections (called MOFIBO2, MOFIBO3, MOFIBO4) and i've a succesfull connection to then SQL server.
    The Oracle Database is:
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    I've made 3 versions of the initdg4odbc.ora and they all look the same:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MOFIBOx (MOFIBO2, MOFIBO3 and MOFIBO4)
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    My lisener.ora look like this:
    # listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = resp-ora01)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
      (SID_DESC =
       (SID_NAME = PLSExtProc)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = extproc)
      (SID_DESC =
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (SID_NAME = RESPTEST)
    (SID_DESC =
       (SID_NAME=MOFIBO2)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    (SID_DESC =
       (SID_NAME=MOFIBO3)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    (SID_DESC =
       (SID_NAME=MOFIBO4)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    And my mofibo part of then tnsnames.ora look like this (I've made three variants because different "manuals" uses different methods ):
    MOFIBO2=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA=
        (SID=MOFIBO2)
       (HS=OK)
    MOFIBO3=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID_NAME = MOFIBO3)
       (HS=OK)
    MOFIBO4=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = MOFIBO4)
       (HS=OK)
    When tnsping to the three versions i get this:
    C:\Users\Administrator>tnsping mofibo2
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:17
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521)) (CONNECT_DATA= (SID=MOFIBO2)) (
    HS=OK))
    OK (10 msec)
    C:\Users\Administrator>tnsping mofibo3
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:23
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
    ATED) (SID_NAME = MOFIBO3)) (HS=OK))
    OK (10 msec)
    C:\Users\Administrator>tnsping mofibo4
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:27
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
    ATED) (SERVICE_NAME = MOFIBO4)) (HS=OK))
    OK (0 msec)
    I created three database link with then following (username and password was in wright case):
    create database link MOFIBODB2 connect to "<username>" identified by "<password>" using 'MOFIBO2';
    create database link MOFIBODB3 connect to "<username>" identified by "<password>" using 'MOFIBO3';
    create database link MOFIBODB4 connect to "<username>" identified by "<password>" using 'MOFIBO4';
    when i was trying to select from a table (select * from customers@<DATABASELINKHERE>) i get the errors (substitute MOFIBO2 with MOFIBO3/4 and same error occours):
    SQL> select * from customers@MOFIBODB2;
    select * from customers@MOFIBODB2
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MOFIBODB2
    What is my mistake?

    Hi,
      In the listener.ora you have the host as -
    (HOST = resp-ora01)
    but in the tnsnames.ora entries you have -
    (HOST=resp-ora02)
    The tnsnames.ora host must be the same as the listener host.
    Unless you have a listener running on resp-ora02 it isn't clear why the tnsping returns a result.
    Change the host in the tnsnames.ora and let us know what happens.
    Regards,
    Mike

  • Suddenly getting ORA-12514 error Oracle 11gr2

    I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
    My tnsnames.ora file:
    # tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_MYDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb.orcl)
    SE3 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = se3.orcl)
    LISTENER_SE3 =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    and my listener.ora file is as follows:
    # listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = G:\oracledb
    * i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

    Hi,
    Instead of this:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    have the following in your listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
       (SID_DESC =
          (SID_NAME = mydb)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
        (SID_DESC =
          (SID_NAME = se3)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
    localhost.
    Restart listener and try.
    Thanks &
    Best Regard,

  • Error thrown while trying to connect the remote data base

    Hello,
    I am trying to connect the database(orcale 7) which is in the remote machine using Microsoft JDBC driver. But the following errors are thrown. If any one know how to solve this, pl let me throw some lite on this.
    Errir message as/./.......................
    java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:4089)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:4246)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1136)
    at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:148)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:167)
    at java.sql.DriverManager.getConnection(DriverManager.java:457)
    at java.sql.DriverManager.getConnection(DriverManager.java:159)
    at lucasCustomization.processmgmt.helper.EISConnector.getConnectEIS(EISConnector.java:24)
    at wt.workflow.expr.WfExpression2570849.execute_ROBOT_EXPRESSION_(WfExpression2570849.java:27)
    at java.lang.reflect.Method.invoke(Native Method)
    at wt.workflow.definer.WfExpression.executeTransition(WfExpression.java, Compiled Code)
    at wt.workflow.definer.WfExpression.execute(WfExpression.java, Compiled Code)
    at wt.workflow.robots.WfExpressionRobot.run(WfExpressionRobot.java, Compiled Code)
    at wt.workflow.engine.StandardWfEngineService.runRobot(StandardWfEngineService.java, Compiled Code)
    at java.lang.reflect.Method.invoke(Native Method)
    at wt.queue.QueueEntry.execute(QueueEntry.java, Compiled Code)
    at wt.queue.ProcessingQueue.execEntry(ProcessingQueue.java, Compiled Code)
    at wt.queue.ProcessingQueue.execEntries(ProcessingQueue.java, Compiled Code)
    at wt.queue.PollingQueueThread.run(PollingQueueThread.java, Compiled Code)
    error..>java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    ########################error ends...###############
    And also i added i code for your reference
    import java.util.*;
    import java.sql.*;
    public class EISConnector
    public static String getConnectEIS() throws Exception
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("Connection3 :");
    Connection con1=DriverManager.getConnection("jdbc:odbc:eiscon","scott","tiger");
    System.out.println("statement2");
    PreparedStatement stmt1=con1.prepareStatement("insert into tryout(toolnumber,toolname) values(?,?)");
    stmt1.setString(1,doc.getNumber());
    stmt1.setString(2,doc.getName());
    System.out.println("st");
    int i=stmt1.executeUpdate();
    System.out.println("i :"+i);
    System.out.println("End");
    con1.close();
    catch(Exception e)
    e.printStackTrace();
    System.out.println("error..>"+e);
    return new String("End of Connection");
    }

    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#_59_
    The thin drivers are classes12.zip/classes111.zip. classes12.zip being the most recent release. You can download it from
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/htdocs/winsoft.html
    (the general download site is http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html )
    Jamie

  • Ora-12514 error - please help

    Hi,
    I get this error and i really don't know what to do..
    C:\Documents and Settings\Sorin>sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 2 19:03:43 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> conn system/password@scoala
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptorCan you advise me of what to do?
    Edited by: Roger22 on 02.07.2011 19:05

    Roger22 wrote:
    Yes, probably they have been asked (e.g. ora-12514 error) and i already have googled it. But maybe i have a problem that i did not found already on google or on this forum. And maybe here i can get helpThis particular error is not arcane or difficult to debug. Did you read the link I gave you? There's really only 3 steps
    on the client - tnsping - to see where the connection request is going and what service is being requested.
    on the server - lsnrctl - to see what services the listener supports.
    If the listener supports no services, the database needs to be register itself with the listener.

Maybe you are looking for