Oracle Database 10 g/ SQL Developer connection problem

Hello,
I hope you can help me further. now wants to learn Oracle, Oracle Database 10g Enterprise have
Edition instaled (successful), and wants to connect to SQL Developer but unfortunately was not working.
I get this error:
Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor.
Thank you for your understanding!

881920 wrote:
Hello,
I hope you can help me further. now wants to learn Oracle, Oracle Database 10g Enterprise have
Edition instaled (successful), and wants to connect to SQL Developer but unfortunately was not working.
I get this error:
Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor.
Thank you for your understanding!welcome to the forum,
what is your operating system name and version?
check
$lsnrctl status
if the listener is down
start the listener
$lsnrctl start
also check the database is up and running.
and try to connect with correct username,password,role (normal or sysdba) hostname or IP, port number, SID or service name.
Good Luck.

Similar Messages

  • How to solve Oracle SQL Developer connection problem ?

    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?

    user8860348 wrote:
    Folks,
    Hello. I am using Oracle Database 11gR1. The Database Control Console https://localhost.localdomain:1158/em works correctly. I can create a Database and a table successfully.
    My OS is Linux and connects to internet successfully.
    In order to run SQL statements. we need to use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:
    Connection Name: DB1 (this is my database name as well)
    Username: SYS (this is the user name I used to login to the Console)
    Password: SYS (this the password used to login to the Console)
    Connection Type: Basic
    Host Name: localhost
    Port: 1158
    SID: DB1 (this is created during installing the Database)
    But the error message comes up: "Status: Failure - IO exception Connection Reset."
    Can any folk tell me how to solve Oracle SQL Developer connection problem ?username: sys
    password: enter_your_correct_password given at the time of oracle installation
    role: select sysdba if you would connect as sysdba else select normal for users other than sys
    hostname: enter your oracle server hostname or ip address eg:- 192.168.11.12
    to find the hostname open terminal/command prompt in oracle installed machine
    type ---> hostname
    type ---->ping hostname
    you can find the ipaddress of the server
    port number: 1521 (default) ----> i guess , else check the port number in the tnsnames.ora file under your ORACLE_HOME/network/admin folder
    SID: DB1
    try it
    Good Luck

  • Installing Oracle Database and SQL Developer

    Hi, I was looking for some help/advice in regards to installing an Oracle Database and SQL Developer onto a Windows 7 32bit machine. I have been asked to create a database to store data that I create through reports in Excel so I am required to create a local database but not sure how to go about doing this. Also not sure if I install the Express Edition or Oracle Database 11g R2. If somebody could please advise on how I can get this started or even any links/tutorials that would guide me in how to get this installed with a localhost.
    Thanks in advanc.

    318f20b8-a3d0-4fb4-bb0f-73785250b7d4 wrote:
    Thanks guys, I have managed to install Oracle 11gR2 and I have setup a database using the dbca tool and I can connect to my new database. One thing that I have noticed is that when i look into my tables in sql developer i see loads of different tables i.e. def$_, logmnr_, etc and I am not sure why this is as I expected an empty tablespace.
    Thanks btw for all your help.
    One of the key principles of relational databases is that they use their own facilities to manage themselves.  That means the database management system uses the database to manage data about the database using exactly the same facilities (tablespaces, tables, user accounts, procedures, etc) that an application uses to keep data for the application. See "data dictionary"   So there is no such thing as a completely empty database.
    As said by others, you do NOT want to be creating your own tables under oracle's schemas (users) or in oracle's own tablespaces (esp. SYSTEM and SYSAUX).  Create your own user account/schema.  Create your own tablespace. Make that tablespace the default for that user.

  • SQL Developer and Oracle Database 10g Express Edition, Connection Problem

    I am using SQL Developer version 1.2.1 and am connecting to a 10g database on a windows xp.
    Up until today there have been no problems with the connection. When I tried to connect to the database and have not been able to.
    The error states that "...listener refused the connection with the following error: ORA-12505, TNS; listener does not currently know of SID given in connect descriptor..."
    Also tried to log into the database home page but page doesn't load...

    I'd bet the database is down.
    Try a login through sqlplus ("Run SQL Command Line" in the Oracle Express Edition 'Start' menu).
    Do a CONN / AS SYSDBA
    If you get a message about database or memory area not available, try STARTUP.
    If that doesn't work, you are best off in the General Database forum or the Express Edition forum.
    You'll probably get the most expert response in General Database, but the Express Edition forum can be gentler on newbies (as it is more accepted that questioners are not and do not have access to full-time DBAs).

  • Oracle/ SQL Developer connection problem.

    I have installed Oracle 11 g and SQL Developer, When I open SQL Developer and try to make a new connection ( I name the connection, put a user name in, put my password in), I click on "Test" and I get this error:
    Status: Failure - Test failed: Listener refused the connection with the followong error:ORA-12505, TNS: listener does not currently know of SID given in connect descriptor The connection descroptor used by the client was:localhost:1521:ex
    Can anyone explain this to me and help me resolve this issue I am having?
    Thank you in advance for your help
    -steve
    p.s. I have also tried the user name: Scott and Password: Tiger

    Windows 7 Home ... will have challenges at some point, as Oracle may not be completely compatible with Windows 7.
    Aside from that, you may find firewall issues even if you are on the same machine, since the default connection from SQLDeveloper is to use the network (even loopback).
    First step is to verify that the database and listener are running and that the database is registered to the listener. TO do that, drop into command line and issue:
    1) Listener
    lsnrctl statuswhich will give one of two results, if properly installed. First - listener is down
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:48
    :13
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    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=FCC003L)(PORT=1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown errorIf the above is displayed, check the Service applet (Control Panel -> Admin Tools > Service) to ensure serivce is up, or enter "lsnrctl start", in which case the status shoud show
    C:\temp>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-FEB-2010 20:46
    :40
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date                05-FEB-2010 14:42:10
    Uptime                    2 days 6 hr. 4 min. 30 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Default Service           XE
    Listener Parameter File   C:\oracle\app\oracle\product\10.2.0\server\network\adm
    in\listener.ora
    Listener Log File         C:\oracle\app\oracle\product\10.2.0\server\network\log
    \listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=FCC003L)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\temp>2) After the service is verified up, make sure the database is up
    sqlplus / as sysdbawhich should respond with something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:43:12 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>if it gives something like
    C:\temp>sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:44:49 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter errorthe pull up the Control Panel, Admnistration Tools, Services and start the database. Then recheck the listener and it shoudl show some additional services such as
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "TEST" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
      Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfullyIn the above, remember the "xe" from 'Service "xe" has 1 instance(s).'. I expect to see something about that in the TNSNAMES.ORA file in your ORACLE_HOME\network\admin directory. That file should have an entry like
    XE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = FCC003L)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = XE)
      )and you will note the XE on the left side of the equal sign (which is a network alias), and one XE in the (SERVICE_NAME = XE) line. On YOUR system, the XE should be replaced by whatever you called your database (often 'orcl'). REMEMBER THIS ALIAS;-) and also make note of the host that your entry uses. If your host name changes because of DHCP, you're hooped (for a while).
    If the database is registered (shows up in the list), the next step is to make sure a userid is available. You could use 'system' (try to avoid using SYS since it is the master userid and if you mess that up, you mess up all your homework. In a production encvironment, every access to SYS will be audited.
    So, let's create a userid called me with (in 11g case sensitive) password 'myself'. Make sure that user is allow to log in (create session) and create a table.
    C:\temp>sqlplus system/oracle
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:54:38 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> create user me identified by myself;
    User created.
    SQL> rem to show you how to change password ...
    SQL> alter user me identified by myself account unlock;
    User altered.
    SQL> grant create session, create table to me;
    Grant succeeded.
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Productionand now see whether we can log in using the same 'network' technique we will later use with SQLDeveloper.
    Do you remember the XE discussion above? Replace XE with the one on the left of the equal sign - the system looks that up to find which service it wants to access.
    C:\temp>sqlplus me/myself@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Sun Feb 7 20:58:26 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select * from dual;
    D
    X
    SQL> exit
    Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - ProductionIf the above worked, you should have no problem accessing the system using SQLDeveloper. You simply use the HOST, the PORT and the SID (alias) or service from the "lsnrctl status" output in the SQLDeveloper fields.
    If it did not work, try dropping the "@XE" to see whether you can get in (using the bequeath connection) which is useful for troubleshooting but will not help with the traditional SQLDeveloper connection. If you get in without the @XE (or whatever your alias is) but not with it, most likely either your listener is not up or your firewall is blocking the access to the listener.

  • Unable to establish connection to oracle database using sql developer

    hi guys,
    i tried to connect to the oracle database using the sql developer, but it fails. it replies the following message:
    Status: Failure -Test failed: Io exception: The Network Adapter could not establish the connection
    what should i do? any help

    Please provide a little more information:
    1) SQLDeveloper version.
    2) Database Version.
    3) Database location (same machine or on the network).
    4) Connection method (basic,TNS).
    5) Connection type (Thin,Thick/OCI).
    Usually the first thing to check is if you have correctly entered the right information for your database connection, then if everything seems to be OK the database itself should be checked for potential problems.

  • SQL Developer connection problems

    I am trying to run for the first time SQL developer and the connections window isnt showing. I tried also to make file>new>and choosing database connection and nothing happens. Also i tried loading the connections toolbar but the toolbar isnt available it isnt listed under the view tab.
    Can anyone please help me not only me have the same problem.
    I am running it on Windows 7 Ultimate 32-Bit. I tried all versions and it is still the same and tried also all patches and upgrades but no effect.
    Can anyone please help
    Thanks

    Well, My java version is :
    java version "1.6.0_15"
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)
    And the exceptions are the next :
    _execv() failed, err=2Exception initializing 'oracle.dbtools.raptor.RaptorDBAddi
    n' in extension 'Oracle SQL Developer': java.lang.ExceptionInInitializerError
    at oracle.dbtools.raptor.RaptorDBAddin.initialize(RaptorDBAddin.java:126
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:407)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Caused by: java.lang.NullPointerException
    at oracle.i18n.text.OraTerritory.getInstance(OraTerritory.java:101)
    at oracle.dbtools.raptor.config.DBConfig.<clinit>(DBConfig.java:325)
    ... 33 more
    Exception initializing 'oracle.dbtools.raptor.standalone.RaptorStandaloneAddin'
    in extension 'Oracle SQL Developer Extras': java.lang.NoClassDefFoundError: Coul
    d not initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.utils.URLChooserShortcuts.<clinit>(URLChooserSh
    ortcuts.java:35)
    at oracle.dbtools.raptor.standalone.RaptorStandaloneAddin.initialize(Rap
    torStandaloneAddin.java:178)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:407)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception in thread "EditorLoader" java.lang.NoClassDefFoundError: Could not ini
    tialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin.loadXMLEditors(ViewerA
    ddin.java:221)
    at oracle.dbtools.raptor.oviewer.base.ViewerAddin$1$1.run(ViewerAddin.ja
    va:130)
    at java.lang.Thread.run(Thread.java:619)
    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not
    initialize class oracle.dbtools.raptor.config.DBConfig
    at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.viewSelection
    Changed(NavSelectionListener.java:176)
    at oracle.ide.view.View.fireViewSelectionChangedImpl(View.java:495)
    at oracle.ide.view.ViewDecorator.fireViewSelectionChangedImpl(ViewDecora
    tor.java:59)
    at oracle.ide.view.View.fireViewSelectionChanged(View.java:485)
    at oracle.ide.view.View.updateSelectionImpl0(View.java:444)
    at oracle.ide.view.View.updateSelectionImpl(View.java:429)
    at oracle.ide.view.View.updateSelection(View.java:306)
    at oracle.ideri.navigator.DefaultNavigatorWindow$4.viewSelectionChanged(
    DefaultNavigatorWindow.java:1108)
    at oracle.ide.view.View.fireViewSelectionChangedImpl(View.java:495)
    at oracle.ide.view.View.fireViewSelectionChanged(View.java:485)
    at oracle.ide.view.View$2.actionPerformed(View.java:349)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    This is a bug to resolve, Oracle should fix this error for OS 64 bits, on Windows 7 or other. Thanks

  • Sql developer connectivity problem

    Hi,
    I'm finding it difficult to connect my downloaded sql devloper to the oracle. I am doubting if my login details were correct, or there re some other configurations that needs to be done. Please can you tell me how I can get to retrieve my username and password? Also tell me what needs to be at the hostname box and the SID box. Thanks
    Herbert.

    You need a separately installed Oracle database to use with SQL Developer. If you have one at work, ask your DBA for the connection details. If you install one yourself, these details will become obvious.
    Have fun,
    K.

  • SQL developer connecting problem

    Hi,
    our remote server has oracle 8 and Oracle 10G. Oracle 8 installs very long before and oracle 10G installs today.
    As sql developer cannot support to 8i; when i try to connect to oracle 10G i get the following error. ORA-12505
    I have oracle in my laptop and can connect via sqlplus but cannot connect with sql developer.
    C:\>sqlplus sys as [email protected]:1521/xxxx
    password:
    SQL>
    Thanks.

    Hi,
    Not sure if you are running two listeners (one for 8i, one for 10g) on that server. When I had problems connecting to 10g XE and 11g running on the same server, each with its own listener, I read that disabling the 10g listener and updating the 11g listener.ora and tnsnames.ora with entries for 10g solved everything. Always use the listener for the newer Oracle release. Possibly you do not have control over the listener configurations on the server, but this is something to consider.
    And here is a thread from a different forum with opinions on when single or multiple listener configurations might be preferred (and some info on how to do it):
    Re: Running 10gEE and 10gXE on the same pc
    Regards,
    Gary
    SQL Developer Team

  • Creating A New Oracle Database And Sql Developer

    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AM

    user8948230 wrote:
    Hi,
    I'm a newbie to Oracle and and a not so newbie to Sql Server and Visual Studio.
    I am trying to learn Oracle on my local machine. I want to create a new Oracle Database and start learning from there.
    I have downloaded sql developer, the data modeler, and the Oracle Client. Could someone please provide some guidance on how to create a Oracle Database?
    From the responses, it appears that none of the items I mentioned actually creates a database. Sql Server provides a free download, also a developer version for a minimal fee. What specific Oracle product would be best to provide this type of service?
    Thanks,
    Mark
    Edited by: user8948230 on Jan 7, 2010 9:50 AMIn addition to downloading and installing the database software to create a database, might I also suggest you start getting familiar with the documentation.
    Learning where to look things up in the documentation is time well spent investing in your career. To that end, you should drop everything else you are doing and do the following:
    Go to tahiti.oracle.com. Drill down to your product and version.
    Spend a few minutes just getting familiar with what is available here. Take special note of the "books" and "search" tabs. Under the "books" tab you will find the complete documentation library.
    Spend a few minutes just getting familiar with what kind of documentation is available there by simply browsing the titles under the "Books" tab.
    Open the Reference Manual and spend a few minutes looking through the table of contents to get familiar with what kind of information is available there.
    Do the same with the SQL Reference Manual.
    Do the same with the Utilities manual.
    You don't have to read the above in depth. They are reference manuals. Just get familiar with what is there to be referenced. Ninety percent of the questions asked on this forum can be answered in less than 5 minutes by simply searching one of the above manuals.
    After you have familiarized yourself with what is available, read the "2-Day DBA" manual to help get you started.
    Then set yourself a plan to dig deeper.
    - Read a chapter a day from the Concepts Manual.
    - Look in your alert log and find all the non-default initialization parms listed at instance startup. Then read up on each one of them in the Reference Manual.
    - Take a look at your listener.ora, tnsnames.ora, and sqlnet.ora files. Go to the Network Administrators manual and read up on everything you see in those files.
    - When you have finished reading the Concepts Manual, do it again.
    Give a man a fish and he eats for a day. Teach a man to fish and he eats for a lifetime.

  • Oracle database to Sql server connection

    Hi,
    Can anyone please suggest any documents to create db link from oracle to sql server.
    Thanks and Regards
    Phani

    You can use Oracles heterogeneous Services ODBC agent to connect to SQL Server, if your Oracle database is running in windows then very easy to do the ODBC connection
    control pannel-->ODBC icon -->System DSN tab and then click the Add button.
    After this add the connectivity details in $ORACLE_HOME/hs/admin/initMYSQLSERVERDSN.ora file
    If your Oracle database is running on Linux then you need to install something called FreeTDS driver can be downloaded from http://ibiblio.org/pub/Linux/ALPHA/freetds/freetds-0.60.tgz ; to define ODBC connection and then add the details into $ORACLE_HOME/hs/admin/initMYSQLSERVERDSN.ora file
    Thanks
    Raj

  • Generating hourly report from oracle database using sql developer .Help

    I am working on SQL Developer 1.5.1, i need to prepare hourly record of the activity on the database, for that i have a sql query that gives me the report as per selected columns on hourly basis.I need to prepare 24 reports a day.
    Each time i have to go to the query , change the date as per hours like form 22:06:2011 10:00:00 to 22:06:2011 11:00:00 and get the report and export it in excel.
    I want to automate the script so that whenever i run the script , it just asks me the date and runs the script 24 times and fetch me the hourly report of whole day.
    the query syntax is something like this
    Select
    from
    where
    And.......................
    And...................
    And......................
    And req date between to-date( 22:06:2011 10:00:00) And to-date(22:06:2011 11:00:00)
    Order by 7,1,2,3,4,5
    Is there any possibility that i can automate the script to automatically change the hour itself and generate a report in excel 24 times?please share if you have any idea on this.
    Looking forward for a response.

    This gives you data for the whole day and the first column tells you which hour data it is,
    SELECT 'HOUR' || TO_CHAR ( req_date, 'HH24') AS hour_num,
           col1,
           col2,
           col3
      FROM table_name
    WHERE TRUNC (req_date) = TO_DATE ( '22/06/2011', 'DD/MM/YYYY')G.

  • SQL Developer Connection Problem (osx)

    Hi,
    I have a macbook pro with 10.5 and I installed sqldeveloper to acess a db (through a proxy). By clicking TEST I got "I/O exception: The network adapter could not establish the connection". I seems that I have a problem connecting the DB. However with the same connection configuration (username, hostname, port, password) I can connect with sqldeveloper in windows (that I also have installed in my macbook). Does anyone know what can I do? I don't want to use windows...
    Thanks.

    Have you created a TNS entry for your database in $ORACLE_HOME/network/admin/tnsnames.ora or using Net COnfiguration Assistant?
    Every other oracle install (in a different Oracle Home from that of the Database) cannot connect directly to the database. They need a Net Services to connect.
    Also set TNS_ADMIN variable to the the $ORACLE_HOME/network/admin in the wWindows environment so that all Oracle client install can see the single configuration.

  • Sql developer connection problem.

    I got this as an error when making a new connection. what should i do?
    the error is "the network adapter could not able to establish the connection"

    Can you ping the server where the database is located? If not, that's a deal breaker.
    After you get past that, you'll want to confirm that the SID or SERVICE you have defined in your connection is being serviced by a listener on the server. TNSPing can be used to confirm that from your machine if you have the Oracle Client installed.
    If you have a local DBA or other experienced Oracle user, they might be able to help you.

  • How sql developer connects to a oracle database

    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    Sameera

    924164 wrote:
    hi,
    I wonder how sql developer connects to a oracle database. does it use oracle client like Toad?
    How does it make the connection with oracle server?
    SameeraWelcome to OTN
    From Left side Tab click on (+) New Connection. Then at the window give a connection name,User name,Password.
    Then provide Host Name, Port and SID
    Click on Test button and then save or connect.
    Hope this will help you

Maybe you are looking for

  • Report Server (Please help ! )

    Hello! I have installed infrastructure and AS onsame machine. In startthe default report server (rep_myserver) performe very well but after about 60 reports it went to down. Now when i try to start it from AS Home page it start and immidiatly stoped.

  • HR Trigger request with a approval workflow in GRC AC 10.0

    Hi Friends, Is it possible that a HR triggered user creation request in GRC follow a stage approval based workflow ? Something like MSMP workflow ? Or can we route the HR triggered requests to MSMP worflows someway ? if yes, please help me with the d

  • How do i make flash work with FF26 and Win8.1?

    I understand that Windows 8.1 is now controlling Adobe Flash, but have been unable to find a way to make Flash work in FF26. All I find is a bunch of fingerpointing from each company at one of the other companies involved. There is no comprehensive e

  • Uninstall or Migrate CA from Win2003 DC

    I have an old Win2003 DC that has a CA running on it.  I think it was installed specifically for RADIUS use with authenticated Wifi clients on a Cisco WLC.  The Win2003 DC is now the last of the Win2003 Servers on the domain and am looking at getting

  • SHA-1 value for InstallESD.dmg for 10.7.4

    I have had many issues downloading Lion from the App Store.  I finally got a completed download but I want to verify that the InstallESD.dmg file inside is not corrupted in any way.  What is the SHA-1 checksum for the InstalESD.dmg for the 10.7.4 ima