Can connect using sqlplus, cannot using SQL Developer

Hi
I cannot find out why I cannot connect using SQL developer, while sqlplus works fine with the same login information.
*1. TNS ping:*
C:\>TNSPING manila
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 24-GRU-2
010 13:28:38
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.171)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (370 msec)
*2. sqlplus*
SQL> CONNECT SULU_DEV/<pass>@MANILA
Connected.
*3. sqlplus - by IP*
SQL> CONNECT SULU_DEV/<pass>@10.0.0.171:1521/XE
Connected.
*4. SQL Developer*
Username: SULU_DEV
Connection type: TNS
Network alias: MANILA
Error: I/O Exception: Connection reset
*5. SQL Developer - by IP*
Username: SULU_DEV
Connection type: Basic
Hostname: 10.0.0.171
Port: 1521
SID: xe
Error: I/O Exception: Connection reset
*6. SQL Developer - without username*
Username: <blank>
Connection type: TNS
Network alias: MANILA
Error: ORA-01017: invalid username/password
It seems that I have connection to the server, but from some reason it is disconnected when I'm using SQL Developer, but works fine with sqlplus.
Any ideas on what it might be?
Thank you in advance,
Regards,
Marek

The connection export function it's available in 2.1.1.64, you need to right click on the main Connections node, and it will allow you to export all or part of the current connections, or import from a previously exported file.
As for the highlight statement feature it's available in SQLDeveloper; actually you do not even have to highlight the required statement, as long as you take the habit of ending every statement with a ";", in this case you only need to place the caret inside the statement and SQLDeveloper will automatically highlight it for you (if you want to manually highlight a statement you can still do so without problems).
Finally as a last try to solve your connection problem without having to call for network support you could try to check
Preferences -> Database -> Advanced -> Use OCI/Thick DriverThis will force SQLDeveloper to use your oracle client for connections instead of it's native JDBC based connections (even if you use TNS based connections you will still use JDBC unless you have this checked).
As for other graphical tools for Oracle there are many both free or for a price.
1) In the for price world Toad stands out, i heard of a free option too but I'm not sure of the limitations.
2) For free you can use DBVisualizer which is fairly good (never used it too much thou).
3) Finally there is SQuirreL which is both free and open source but it has fairly basic functionality compared to the two above.
Obviously there are many others, but IMHO few will provide you with the same functions of SQLDeveloper or Toad for Oracle databases

Similar Messages

  • Error using Data Miner on SQL Developer

    Dear all.
    I'm trying to use Data Miner on SQL Developer (3.1.06) with Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 -
    64bit Production, with the Partitioning, OLAP, Data Mining and Real Application Testing options.
    I created a project, a workflow, a data source, a classification model and connected them.
    I tried to show the Decision Tree generated as described in the tutorial "Using Oracle Data Miner 11g Release 2".
    But, I receive the message "It's not possible to load the data mining model because it does not exist" in a dialog box entitled "Model not found".
    It seems that something was missing either during installation or granting my user.
    Does anybody have seen this message and know what causes it?
    Any other suggestion is welcome.
    Regards,
    Duncan
    PUCRS-Brazil

    Hi Mark.
    Thank you on replying my post.
    I'm not the DBA of Oracle repository here. So, if possible, I'd like to address my issue without having to do anything in it.
    I'll try to state better what we have here.
    When I try to use latest SQL Developer version, 11.2.1.1.7.42, it got me a message stating current repository isn't compatible with this SQLDev version
    Repository version is: 11.2.1.1.3
    I don't know what type of upgrade SQL Developer wants to do...
    About your other questions.
    "Is the model not found error occurring for all models or just the DT model?" -- The error occurs for all 4 standard models: SVM, GLM, NB and DT. But, I'm able to see all other options: "show tests results", "Compare tests results".
    You did not report that the workflow failed, so you must be seeing a successful completion status for each of the nodes. -- Yes, all steps are executed and finished OK.
    Are you using a proxy user or some other connection definition other than a standard connection. -- No.
    There is currently some problems supporting proxy based connections that will be fixed in a upcoming SQL Developer release.
    So, if you can provide me some details on how your connection is defined, that will be helpful.
    How was the product installed and the user granted rights? -- I need to ask PUCRS DBA team to answer these questions.
    Was it done through the UI or by running the scripts in the dataminer/scripts directory?
    Lastly, what is your client operating system and are you using the SQL Dev 64 bit or 32 bit release? -- I tested in 2 different computers, both with Windows 7 Professional. In my notebook, it's 64 bits OS version.
    Thank you for your attention and kind reply.
    Regards,
    Duncan

  • I am getting error while connecting to sqlplus by using apps account in 11i

    i am getting error while connecting to sqlplus by using apps account in 11i. Does anyone has similar error.
    [applmgr@appsc05t01 admin]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 14:34:52 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

    yes.
    login as: gorantla
    [email protected]'s password:
    Last login: Mon Sep 13 14:39:23 2010 from glng3wy9g1.actuant.pri
    [gorantla@appsc05t01 ~]$ sudo su - applmgr
    [applmgr@appsc05t01 ~]$ ora_setup
    Available databases:
    x = ATUXX
    y = ATUYY
    z = ATUZZ
    Select database: \c
    y
    ORACLE_SID=ATUYY
    IAS_ORACLE_HOME=/apps/ATUYY/atuyyora/iAS
    ORACLE_HOME=/apps/ATUYY/atuyyora/8.0.6
    APPL_TOP=/apps/ATUYY/atuyyappl
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$
    [applmgr@appsc05t01 ~]$ tnsping ATUYY
    TNS Ping Utility for Linux: Version 8.0.6.3.0 - Production on 13-SEP-2010 15:42:32
    (c) Copyright 1997 Oracle Corporation. All rights reserved.
    Attempting to contact (ADDRESS=(PROTOCOL=tcp)(HOST=dbrac05t01-vip.actuant.pri)(PORT=1611))
    OK (0 msec)
    [applmgr@appsc05t01 ~]$ sqlplus
    SQL*Plus: Release 8.0.6.0.0 - Production on Mon Sep 13 15:42:40 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: apps
    ERROR:
    ORA-12514: Message 12514 not found; product=RDBMS; facility=ORA
    Enter user-name:
    Thanks
    Rao

  • Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g

    Hi all,
    I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    Error loading nls:OALL8 is in an inconsistent state
    Error occurred during capture: Protocol violation
    It fails during the capture process for MySQL 5.1 database
    when it begins to capture the tables from MySQL.
    Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
    Regards,
    Ben Prusinski
    Message was edited by:
    benprusinski
    Message was edited by:
    benprusinski

    Hi all,
    I put the following in my sqldeveloper.cmd file:
    SET ORACLE_HOME=%CD%
    What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
    I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
    1) cd C:\sqldeveloper1_5\sqldeveloper-5338
    there exists a sqldeveloper.exe
    2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
    3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
    Which SQLDeveloper 1.5 executable should I be using and where should I place the
    sqldeveloper.cmd file?
    Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
    As an update, I ran the following commands:
    cd to
    c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
    sqldeveloper.cmd sqldeveloper.exe
    Start sqldeveloper.exe
    Perform standard capture for MySQL using the new mig2 schema as the new repository
    It starts the capture but fails on the errors below:
    Error loading nls:OALL8 is in an inconsistent state
    UPDATE
    ============================
    I tried this again and it worked with the exception of one error message listed below:
    Here are the steps that I followed:
    1. Create a Windows cmd script
    Put the following entries in the script:
    SET ORACLE_HOME=%CD%
    save the command windows script as sqldeveloper.cmd
    Copy this script to the base installation directory for SQLDeveloper
    Example:
    1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
    2. Start SQLDeveloper with the command script that you created earlier
    Example:
    Open a Windows shell prompt window and execute the following scripts:
    a) sqldeveloper.cmd sqldeveloper.exe
    b) sqldeveloper.exe
    3) In SQL Developer 1.5
    From the Migrate menu,
    a) Delete current repository and create a new schema in Oracle target database call it mig2.
    b) Then create a new repository in SQL Developer 1.5
    c) Right mouse click on the MySQL 5.x database and choose capture
    It worked with the exception of one error message:
    o.jdbc.driver.OracleDriver     
    Error while registering Oracle JDBC Diagnosability MBean.
    So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
    Thanks!!!
    Ben
    Thanks
    Ben

  • SQLPLUS commands in SQL Developer

    We are using 11g with Sql Developer. We have some script such as healthcheck etc provided by oracle support, which has SQLPLUS commands in it.
    We are not able to run those in SQL Developer. We are getting errors.
    Are there any way, we could invoke SQLPLUS shell within SQL Developer?
    Thanks in helping.

    Hi qwe16235
    SQLPLUS command failed - not enough arguments
    line 36: SQLPLUS Command Skipped: set lines 300
    line 37: SQLPLUS Command Skipped: set pages 999
    These are formatting commands we do not do yet.
    The other command seems like an error in the middle of a PL/SQL block which we should have covered, just the start of it is not enough to know what the error is.
    An example of bad pl/sql error reporting:
    input:
    show parameter error <-------------- Dummy command so the plsql block does not begin at 1
    begin <----------------starting at line 3
    broken plsql; <------------- bad plsql at line (start)3+(from ora error)2 = 5 (should be 4 - must be one off)
    end;
    output:
    NAME TYPE VALUE
    sec_protocol_error_further_action string CONTINUE
    sec_protocol_error_trace_action string TRACE
    Error starting at line 3 in command:
    begin
    broken plsql;
    end;
    Error report:
    ORA-06550: line 2, column 8:
    PLS-00103: Encountered the symbol "PLSQL" when expecting one of the following:
    := . ( @ % ;
    The symbol ":=" was substituted for "PLSQL" to continue.
    06550. 00000 - "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:
    -Turloch
    SQLDeveloper team

  • Connect using OS authentication in SQL Developer

    Hi,
    We are using OS authentication to connect on Oracle, if I use SQL*PLUS I use only sqlplus /@instance but someone knows how can I connect on Oracle using OS authentication ? I tried to use / or blank username in SQL Developer and it requests an user and password...
    Thanks in advance,

    Thanks for your answer Raghu, when this feature will be implemented it will help a lot to keep security.
    Regards,
    Joao

  • Can connect to the server using VPN, but cannot pull up the shared drives

    I can connect to the server at work using PPTP VPN. I can ssh to the server once I VPN'd in. I cannot, however pull up any of the shared drives using K. It just says that it is connecting, but nothing happens. When I disconnect the VPN, the user name and password box pops up. The only way to get rid of it is to click cancel. Nothing changed on the server since the last time I logged in. Also, when I am VPN'd in, I cannot use the Server Admin or Workgroup Manager. Any assistance is greatly appreciated.
    P.S. The server is the MacMini and the client is the MacBook, running 10.5.7 software.

    This is strange, your setup is the same as mine :P
    Anyways, I also have a problem like this.
    I connect to VPN fine, but tools that need to access the net seem to take a very long time to open. Its as if my Client Information inside the server isn't being sent to the client correctly.
    It takes atleast two minutes after connecting to the VPN for iChat to connect and work again, and tools like Server Admin seem not to work at all.

  • Using XML functions in SQL Developer

    Hi,
    I'm using OSD 1.5.3 on a WinXP machine. I love OSD and use it every day! But I think i found a little bug. When you use some Oracle XML functions like (XMLELEMENTS and XMLAGG) in your query (these functions return CLOB values) it hangs OSD.
    For Example:
    SELECT XMLELEMENT("Relation",
    XMLELEMENT("Name", 'Dennis'),
    XMLELEMENT("DateOfBirth", '09/28/1975')
    ) as Relation
    FROM DUAL;
    Are there some parameters I can set to prevent this, or is this a bug?
    Kind Regards,
    D.

    Your query works fine for me from SQL Dev 1.5.3 (JDK 1.6.0_06), using either a JDBC or TNS connection (Oracle Client 9.2) to a 10.2.0.3 DB. Another thing which I have no idea if it is relevant (someone else may be able to say) is the following line from Help > About > Properties:
    oracle.xdkjava.compatibility.version     9.0.4
    Given that it works fine over TNS connections from SQL*Plus and PL/SQL Developer, I would assume that it is something related to your SQL Developer setup, unless you are using a different version of the Oracle client for these tools.
    theFurryOne

  • Using tab key in SQL developer

    I am trying to write my PL/SQL code using SQL developer and I want to use the tab key for my alignment. Whenever I press the tab key the cursor is not moving forward. Do any of you know how can I make it work?
    Thanks in advance for your help.

    Thank you for pointing out a "known problem" with the accelerators! I've been having a problem whereby I suddenly became unable to use the backspace or delete keys to make changes to code. Interestingly, I loaded the preset accelerators as you suggested to handle problems with the tab key and suddenly everything else works fine now.
    Regards,
    John

  • Unable to use backspace key in SQL Developer

    hi
    I am unable to use backspace or arrow keys in SQL worksheet using SQL developer.
    Can any one help me out...?
    You can also contact me on [email protected]
    regards
    Ahsan

    Hi,
    to give a worst case. I downloaded actual releases for JDeveloper and SQLDeveloper for MacOS and on my Mac this case is totally unsolved. I tried to check he settings within the preferences.xml but no "googled" solution works to get SPACE and BACKSPACE to work.
    I will try the older versions.
    I previously used my migrated versions from my older Linux system and everything worked fine. Installing the integrated MacOS versions is fine but using the linux way (using the shell command) seems to work. Hope this will help to find the bug within the packages.
    Bye,
    Holger

  • I CANNOT DOWNLOAD UPDATES RECEIVE ERROR message 0x800f0826 what can i do also cannot use all

    i can not install updates .receive error 0x800f0826
    cannot use all my symbols on my keyboard

    Please give more info so  we can help you.
    Witch operating system, photoshop cc or cs6 and what error message came up

  • Import data using Excel and Oracle SQL Developer - I need some help

    Dear friends,
    I'm using Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file in XLS format, fields and headers are correctly being shown and separated, but if I press "Next" button, it simply doesn't do anything - it stays stopped.
    I did some search here in this forum and it seems to me that, when you try to import a file via XLS format, SQL Developer has bugs. Is this correct?
    If I save the same file in CSV format and try to import the same file, it goes ahead, but SQL Developer is not separating fields and headers correctly. It combines all CSV fields into one - let's say Column0 and fields 1;TEST;01/01/2000 below the same Column0.
    Saving the file in CSV format is not a problem, taking a very little time. But I don't know how to make SQL Developer import it correctly. Could somebody please help me? Thanks in advance.
    Best regards,
    Franklin

    Hello K,
    yes, you're right. I found the following topic after posting this question here.
    Re: After update to 1.5.1, import from Excel fails
    I downloaded version 1.5.0 and I'll use it whenever I import data from Excel.
    Thanks,
    Franklin

  • Connecting to SQLPLUs and using DBCA

    hi
    i have just installed oracle 10g on a fresh windos xp machine and after installation, DBCA is not able to create database
    When it starts creating database, it returns error
    ORA-24324: Service handle not initializaed
    ORA-24323: Value not allowed
    ORA-28547: connection to server failed, probable Oracle Net admin error
    Some thing same i am facing if i use oracle 9i DBCA to create a database.
    If i try to use SQLPLSU to login to the database, it doesnt allow me and returns error of "hotsdef not found"
    let me tell you one thing that i am logged in to the OS as a domain user "salman.qureshi'
    Amaizingly if i log into the windows using local administrator, it allows me everthing to do.
    my domain user "salman.qureshi" is the member of local ORA_DBA group and also local administrator group (same groups as local ADMINISTRATOR user is connected)
    any clue?
    Regards

    Well i am on wondows XP,
    it doesnt let me connect to SQLPLUS unless i specify a TNS Service while connecting to a local DB, This is the reason that DBCA is not able to create a database, when i log into the system as local Admunistrator, it allows me to connect and create a database So i created a database.
    now if i log into the system using domain user, and write scott/tiger, it is returning error "end-of-file on communication channel"
    but if i use scorr/tiger@tnservice, it connects me
    Regards

  • Users can connect to SAP B1 using one host

    Dear Experts/Gurus,
    I have a problem relate to installation of SBO 2005A Sp 01. We use 1 server to install SBO (Application+Database). The users connect to the server computer / host (CPU) using switch / router. There are 30 users, so it means there are no CPU used by all users. They directly connect to a host using the router. Could the users open the SBO GUI using that setting ? I appreciate your answers. TIA.
    Rgds,

    Hi Steve,
    I'm not absolutely sure if I understand you right, but maybe the scenario of making SBO available via Citrix could be an option for you. Find out more under: <a href="http://www.citrix.com/English/partners/partnerFeature.asp?partnerID=14785&featureID=14805">Citrix and SBO</a>
    Regards, Sandra

  • Owb can connect sqlserver, sqlplus+ can't.

    I created a non-oracle location connection in owb and can load data from sqlserver to warehouse. Now, I want to use sqlplus or sqldeveloper to connect sqlserver directly, But I got this error message"ora-03135:connection lost contact".
    How can I connect sqlserver in sqldeveloper or sqlplus?
    Thanks

    Napo,
    I think it is impossible to directly connect to MS SQLServer with Oracle developer tools (SQL*Plus and SQL Developer).
    Heterogeneous Services contains two components - HS in Oracle database and Agent,
    and according documentation most of the processing related to heterogeneous connectivity is done in Oracle database.
    When you try to connect with SQL*Plus directly to SQL Server you use only Agent component, so I think appearing of error ora-03135 is expected behavior.
    But you can create in Oracle DB schema database link based on HS connect string and after that you can access MS SQL Server tables over this database link.
    Regards,
    Oleg

Maybe you are looking for

  • CS6 Mast Coll Trial won't install - wierd error

    I'm trying to install CS6 MC and am having one devil of a time just getting it to install.  Environment:  Win 8.1, brand new out-of-the-box HP 500-214 with 8gB RAM 2tB HDD.  Completely new.  First I went and installed some software to begin including

  • JSF support on Oracle 10.1.4 Portals

    Hi, We are planning to use Oracle Portals version 10.1.4 I have read that the new version of Portals can be used to publish JSF as portlets using JSF-Bridge (coming with Web center Suite). This looks little expensive option.. Does Oracle Portals supp

  • Why can't I create multiple libraries? Shift & Click method is not working

    I am trying to create another library on my PC. However, when I try the suggested method +(from the Start menu, choose All Programs > iTunes > iTunes)+ I do not get a dialog or option to create a new library--my existing library just opens up. What m

  • OS 10.4.3, BlackMagic DeckLink Extreme and Motion 2.1 filter creshes

    Any update on what Apple or BlackMagic Design is doing about this issue? Is there a site that gives update information about what is going on, or when we will have a solution? Clemente

  • Restarting my computer

    I need to restart my computer. The apple icon showing and the pin wheel spinning for 20 minutes