Sql developer + windows authentication

Hi,
Is it possible to use windows authentication to connect to windows databases when using sql developer? From what I have seen, it seems that it is not straight forward.
Is ther any kind of work around?
Thanks in advance for any help
Seastian

It is, but it it's complicated - at least from what I have experienced.
First you need the jtds-1.2.1.jar on your machine (a tutorial here..http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html) - it doesn't mention that you need to unzip the file (from sourceforge.et) and add the SSO directory to your windows PATH variable.
It gets complicated depending on the Win Server (e.g. clustered)
On the Hostname I had to add this "ip adress":1433;instance=CVDEV instead of just the server's ip\CVDEV as you would do in a win connection
And you get disappointed, from what I found out, you need a connection for each of the databases there (e.g. master, temp, etc) it doesn't show all the databases on the server under the same connection

Similar Messages

  • SQL Developer: Windows Authentication on Linux

    Hello.
    I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does anyone have success using this option? It simply gives me an error that it is unable to login.
    Hope anyone can be of help. Thanks in advance.
    Stefan

    Just wondering why the option would be there in the linux version (which is different in other areas than the windows one).
    Is it not possible using Kerberos perhaps?
    regards

  • SQL Developer: Windows 7 64-bits double numerical entries

    I am using sql developer windows 7 64-bits version 64-3.2.20.09.87-no-jre.
    I am entering data directly on tables.
    Sometimes when I use numeric pad to enter numbers, double entries appears on the first digit.
    For example: entering 1234
    it appears 11234 - with first numeric entry appearing twice.
    This also happens with the past versions, different notebook brands.
    How do I solve this problem?

    997844 wrote:
    Hi can anyone advise
    The Problem
    We are currently using Oracle SQL Developer 1.2.1.3213 to administer to the oracle database, unfortunately, this version does not play well with a 64 bit environ. The current airbus standard for Oracle SQL Developer which is happy with Windows 7 64 bit is version 3.1.07, again unfortunately, this version does not support versions of the Oracle database less than I think it is 8. Budget precludes the option of upgrading to a newer version of dbase.
    The Question
    Is there a version of Oracle SQL Developer that will meet our needs for windows 7 while remaining on the same version of the oracle database, or are there other competing products that you could recommend that will fit the bill. The product will require a GUI I don’t want to go back to entering SQL at the command line.
    regards
    Kevin" this version does not support versions of the Oracle database less than I think it is 8."
    What do you mean by this statement?
    SQL Developer is just a client. Clients do NOT have to be exactly version matched to a database. I am running SQLDeveloper 3.2 on a Win 7 Pro 64-bit desktop and my databases are a mix of 10.2.0.4 and 11.2

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode. 
    Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
    Following steps are the steps that I went but I got an error:
    Server properties >> security >> choose the option of SQL Server and Windows Authentication mode 
    and the error that I got is attached(access is denied)  
    Can you please help me?

    You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
    Here's a guide on how to (re)gain those rights:
    http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

  • Issue Install SQL Developer - Windows 7 64 Bit

    I am trying to install SQL Developer 3.2 on my Windows 7 - 64 bit laptop. When I attempt to install and put in the Java path I get the following error:
    "Cannot find a J2SE SDK installed at path: ;C:\Program Files\Java\jdk1.7.0\bin."
    I tried using the version 6 path and it did not work either.
    Can someone please advise?
    Thanks for your help!
    NS

    Does your path really start with ';' - if so, that's wrong.
    Also, take out the \bin, should look something like this
    C:\Program Files\Java\jdk1.7.0_05

  • SQL Server Window Authentication Slow

    Hi
       We are using SQL Server 2012. When we run our applications with window authentication it runs really slow. But if we use same application with database user authentication then it runs really fast.
        Any Suggestion?
    thanks
    Drew

    Hi Drew,
    When you use Windows Authentication I assume your are using domain accounts (no local account). Your database server has probably some issue connecting to Active Directory. You might have similar delay logging on to the server using a domain account and
    or rebooting the server might also be slow. Most likely your DNS server settings on that server or on your client are incorrect or out of date.
    You can check this from the Command Prompt with the IPCONFIG.EXE /ALL command. Make a note of configured DNS servers. The configured DNS servers should ONLY be the DNS servers from the Active Directory domain (typically those are the same servers as the
    domain controllers). You should remove any DNS servers from the Internet.
    Why does this matter? You may ask. SQL Server needs to connect to the domain controller to verify your credentials. to that it first needs to know the IP address of the domain controller. This information is stored on a DNS server in your Active Directory
    domain, not on public DNS servers on the Internet. If your server is configured with public DNS servers from the Internet, requesting this information will fail and cause an delay until either a correct DNS server is contacted or the domain controller is contacted
    using legacy (NTLM) methods.
    You may have a more complicated situation if more Active Directory domains are involved (e.g. domain trusts, forest trusts, complex nested group memberships.), or if the configured Domain Controller is located at another site and is only connected by a slow
    link, or there is actually a performance issue with your domain controllers. In that case your Active Directory Administrator may supply with more information.
    In short: check your DNS server settings.
    Hope this helps.

  • SQL Developer Windows Config

    Hi all,
    I used to have a window in SQL developer which would display information on my stored procedures such as compiled, compiled with errors etc. It also gave a list of compile errors and gave line numbers.
    I seem to have lost this window from the bottom of my screen and cannot seem to get it back.
    Is anyone aware of how I can return to the default layout or get this window back?
    Thanks for your help

    A question in a similar vein, if I may...
    I've been trying to find the Compiler-Log window off and on all day...and I just can't find it!
    I created a package that returned a warning that it did not compile properly, but I cannot find the list of statements that caused the errors.
    In SQL Developer 1.5.5 I was able to see an option to Compile the package when I right-clicked on the package. That would open up a 'Compiler - Log' window and show the error messages and the lines they occurred on.
    However, I am now using SQL Developer 2.1.1 and when I right-click on the package I do NOT see the option to Compile. I see a list: Edit / Run / Debug ... instead of: Edit / Open / Run / Compile / Compile for Debug.
    I am assuming that the Compile and Compile Log options were not removed from SQL Developer (cause that would be more than just a pity), and that I am missing something so obvious that I can not see it.
    Can anyone tell me how I can see the list of errors and the lines they are on so I don't have to keep running SQL Developer 1.5.5 just to see them???
    Thank you.

  • Microsoft JDBC 2.0 driver for SQL:  Integrated Windows Authentication?

    Has anyone had success with the MS JDBC 2.0 driver for SQL and Integrated Windows Authentication in distributed mode (Multiserver)?  At best, we can get server-to-server authentication.

    Hello Thomas,
    You may want to download the driver again and install it again.
    heres a sample xml tag in the config.xml:
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    InitialCapacity="3" MaxCapacity="12" Name="MSpool"
    Password="{3DES}fUz1bxR0zDg=" Properties="user=uid"
    Targets="myserver"
    URL="jdbc:microsoft:sqlserver://mydbserver:1433"/>
    ensure that you follow the instructions from Microsoft. For using 2000
    driver you will need to have
    Install_dir/lib/msbase.jar and Install_dir/lib/msutil.jar in addition to
    Install_dir/lib/mssqlserver.jar in the CLASSPATH.
    hth
    sree
    "Thomas" <[email protected]> wrote in message
    news:3c91ec0e$[email protected]..
    Hi,
    Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from
    the
    microsoft website?When I try using it with WL 6.1 sp1 it says it can't load
    the
    driver.I try viewing the class file from the jar file using the jar utility
    it
    gives an unknown Zip format error.Anybody has any solution for this ?If
    anybody
    has managed to work with this microsoft driver i will be grateful if they
    provide
    me with a solution.
    Thanks
    Thomas

  • SQL Developer window

    Hi,
    I have SQL Developer 1.1.2.25. I keep many sql windows open to do different. Whenever I go back from one window to the other and so on, all of a sudden, the windows come down to the bottom. This way, I can see both the windows in the same page, but then the problem is that the result shows up in such a small space that it becomes difficult to scroll down and it all looks so confusing. I dont want that happening. I want to be able to switch back and forth to any window i want. Please advise at the earliest. I'm going crazy with this sql developer. Pls advise soon. Thanks.

    Hi,
    I guess I have not mentioned my query clearly. Ok, in SQL Developer, for instance I hv two sql windows open, for eg. abc and xyz. i have done a select statement in the first sql window, for eg. select * from employee_information where employee_type = 'manager'. now in the xyz sql window, I have a select statement select * from employee_information where employee_type = 'administrative' . Now I hv two different results in abc sql window and xyz sql window. Now, for eg. I want to look at both the results, i go to abc, then xyz and so on by switching back and forth.
    So after I do this couple of times, all of a suddent, automatically the second sql window (xyz) comes down, which means, instead of both the windows being vertical side by side, they now come horizontal. So my abc window is on the top, followed by the result of my sql query. Then comes my xyz window, followed by the results of the sql query.
    I dont want that to happen. I want to be able to open any number of sql windows side by side vertically so that I can switch back and forth.
    Any advises.

  • Running SQLs in background in batch mode via SQL developer ( windows 7)

    Hi
    Can anybody share any tips to run a set of SQLs in background in batch mode via SQL developer in Windows 7 environment
    am trying something as below but not succeeding though
    1) Create a .txt file name 'mysqlfile.txt' in desktop which contains the below statements
    Create table A
    Create table B
    2) Create a .bat file name 'run.bat' and kept in desktop which contains the below statements ( syntax may not be correct though)
    sqldeveloper -s <DBusername>/<pwd>@//<Hostname>:<port>/<SID>@<C:\Users\<username>\Desktop/mysqlfile.txt>
    3) Double click 'run.bat'
    Regards
    -Learnsequel

    SQL Developer doesn't have a command-line interface to support what you're looking for.
    You could use SQL*Plus.
    We have some requests on the Exchange in this area you could add your vote to. This is an area we are investigating for future releases.

  • SQL and windows authentication login

    Please clear my doubt.
    If login is windows authntication, we can not lock and expire that account right. We can just disable that account.
    We can not do lock the account manually, if it is windows and sql logins.
    Please clear my doubt

    Hello Shashikala,
    In SQL Server you can manually disable a Windows and SQL Logins, but you can't lock them, you only manually unlock a SQL Login.; a SQL Server Login can be locked by SQL Server, if e.g. the password period has expired.
    Windows Logins can also be locked, but that happens on OS / AD level, not on/from SQL Server.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SQL Developer SVN Authentication Loop

    Hi All,
    I am using SQLDeveloper 1.5.1 and I have been excited for the SVN functionality since SQLDeveloper was released.
    When I connect to my svn repository, if I test the read access - the authentication prompt for the password just keeps popping up - despite putting in the correct password.
    In the past I have used Tortoise w/o any issues like this, however now I am responsible for implementing source control across the team at large. I would much prefer that the team use SQLDeveloper and SVN inline rather than any alternative.
    Despite the correct information - if I forget the test and just try to check out my repository - the same behavior occurs, however when I cancel the password prompt - i receive this stacktrace in my details:
    org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.ClientException: svn: authentication cancelled
         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:233)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.executeCheckout(SVNOperationCheckout.java:541)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.executeCheckoutWithProgress(SVNOperationCheckout.java:496)
         at oracle.jdevimpl.vcs.svn.op.SVNOperationCheckout$CheckoutThread.run(SVNOperationCheckout.java:346)
    Caused by: org.tigris.subversion.javahl.ClientException: svn: authentication cancelled
         at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:435)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1311)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClientImpl.java:363)
         at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.checkout(AbstractJhlClientAdapter.java:224)
         ... 3 more
    Caused by: org.tmatesoft.svn.core.SVNCancelException: svn: authentication cancelled
         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
         at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:40)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:124)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:197)
         at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:160)
         at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:150)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:348)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:462)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:418)
         at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:382)
         at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:305)
         at org.tmatesoft.svn.core.javahl.SVNClientImpl.checkout(SVNClientImpl.java:360)
         ... 4 more
    It just reports an error on cancel so I don't know if that helps.
    But I need help, much obliged.
    Thanks,
    ~tim

    Hey Dedwards,
    I sat down with our release engineer and chased the logs - in the apache dump - same kind of stuff.
    However - after changing my password, and then killing TSVNCache.exe (despite both SQLDev and Tortoise not running) I was able to connect.
    Hope this helps others, thanks for the response.
    ~tim

  • SQL Developer vs Oracle Administration Assistant for Windows

    I'm new to oracle and have logged into the oracle sql developer with a very low privileged user account. I see other users defined, but when I login to the server and open the oracle administration assistant, I don't see any users. The account I'm logging in under is the account the server is using to run oracle. Is there a reason I can't see these other users on the server?
    Thanks

    The users you are seeing in SQL Developer are authenticated by the database and not Windows; therefore, they are not External OS Users so they won't show up in that list. An external user (i.e. one authenticated by Windows) would need to be created in order to be visible on that list.
    If you want to confirm the type of authentication used, you can execute the following query as a user with the ability to query the dba_users view:
    select     username,
               authentication_type
    from       dba_users
    order by   username;Here's a snippet of the output on my local system:
    USERNAME                       AUTHENTICATION_TYPE
    OE                             PASSWORD
    OLAPSYS                        PASSWORD
    OPS$LIVERPOOL\MARKWILL         EXTERNAL
    ORACLE_OCM                     PASSWORD
    ORADEMO                        PASSWORDThe users with PASSWORD authentication are authenticated by the database and the user (OPS$LIVERPOOL\MARKWILL) with EXTERNAL is authenticated by Windows. That user shows up in the list in the Administration Assistant as expected.
    Hopefully that makes a bit more sense now.

  • Using the equivalent of a BREAK ON command in SQL Developer SQL window

    Folks.
    In SQL*PLUS "BREAK ON Col1 ON Col2;", I can generate a report similar to the following:
    Col1Value1 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    etc.
    I want to be able to do the same thing in my SQL Developer SQL window so that I can export the results to a spreadsheet file.
    Does anyone know if this is possible?
    I've tried using the SQL*PLUS BREAK command in my SQL Developer window but it appears to be ignored. My resultset looks something like
    Col1Value1 Col2Value1 Col3Value1
    Col1Value1 Col2Value1 Col3Value2
    Col1Value1 Col2Value1 Col3Value3
    Col1Value1 Col2Value2 Col3Value1
    Col1Value1 Col2Value2 Col3Value2
    Col1Value1 Col2Value2 Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col1Value2 Col2Value1 Col3Value2
    Col1Value2 Col2Value1 Col3Value3
    Col1Value2 Col2Value2 Col3Value1
    Col1Value2 Col2Value2 Col3Value2
    Col1Value2 Col2Value2 Col3Value3
    .

    OK thanks.
    I did get around this by using SQL*PLUS to generate an output file with a separation character between the columns and spooling the SQL*PLUS output to a text file.
    I then open the text file with Excel and specify the same character as a column separator. Seems to load properly into Excel.

  • Top 10 Obstacles to Sql Developer Becoming a World-class Tool

    I've been working with Sql Developer day and night for the last 6 months.
    On a positive note, the SqlDeveloper team has been the most responsive Oracle product team I've worked with in the 19 years I've been working with Oracle tools. They pay attention to their customers. It's noticed and much appreciated!
    I thought I would share the biggest problems that I face with the tool on a daily basis, the kind of problems that make me want to work with a different tool each and every day.
    My intent isn't to gripe, it's to focus attention on the biggest productivity drains I face using the tool. Others may have a different list, based on their needs. Without further ado, here is my top 10 problems list:
    1) Quality Control.
    I cannot count on critical portions of the tool working correctly. This includes an oracle database development tool that is incapable of extracting oracle ddl correctly and which is incapable of correctly displaying information about SQL Server data and database objects. It also includes destroying connection files and losing keyboard settings. When the product was installed, it was incapable of properly displaying code in a worksheet when I scrolled thru the code. The details are listed in other postings of mine.
    2) Quality Control.
    See #1.
    3) Quality Control.
    See #1.
    4) Very badly done threading.
    The tool locks up on a constant basis when it does a many tasks. Rather than let me work on some other task, I have to wait for it to complete. My current work-around is to have two or three sql developer windows open. That sucks life out of my RAM supply, but at least I can get some work done. And, of course, it will often completely lock up and never return, which means I lose all unsaved worksheets. This forum is full of postings about these issues.
    5) Memory Leaks / Internal memory corruption.
    If I've had the tool open for a few days, or really worked it hard for a day, I will get bizarre compilation errors that make no sense. If I exit the tool, re-enter the tool, and compile the exact same code all will be well.
    6) Awkward and slow data entry interface for frequently performed tasks.
    Example: I create a new table and want to start defining columns for it. I remove my hands from the keyboard to press the + button, then I have to set focus on the column name field (it should do that for me!). Now that my hands are back on the keyboard, I have to backspace the dummy "column name" value in the column name field (it should ditch that dummy value for me). Only after all that can I actually enter a column name. When I want to add a new column, it's back to the mouse again, for the same drill. The down arrow key should take me to a new column record, as should pressing return at the end of the last field in the column row.
    7) Destroys code
    Changing a column datatype from varchar2 to nvarchar2 destroys the length of the column. Changing a field on a view destroys the instead of triggers. This is bad. There is no warning that this this is about to happen, which would at least give us a chance to avoid the problem. Better still, of course, would be not destroying that data.
    8) Inaccurate checking for record locking.
    When I try to edit records in a data grid for a table, I often get an error message telling me the data was modified in another session. It is simply not true. A hand-written update statement in a sql worksheet will work just fine. I've seen posts in the forum discussing this issue. An Oracle database development tool unable to reliably update oracle data tables is embarrassing. See Obstacle #1.
    9) Unicode support
    Sql Developer is heads above all the other tools I've tried out on this topic.
    However, the configuration of the tool to provide unicode support needs to be simplified.
    The tool needs to recognize the encoding of the files that are being opened up. On Windows Vista, Notepad seems to infallibly pick the right encoding for the file when I open it. Sql Developer should do the same. Files have specific encodings, the tool should have a default encoding (that I can override). Right now, the tool has a specific encoding and expects all files to match it. Extracting ddl to a worksheet does not respect the encoding choices of the tool, either. It only works with a limited set of tool encoding choices.
    10) Resources
    Does the sql developer team have the resources they need to compete with vendors like Microsoft? One really big reason for picking sqlserver over oracle is the ease of use of the Microsoft front-end tools. It's not until later that they may realize that Oracle has more capability, but that's still a lost sale.

    We are acutely aware of quality and with each release work at improving this. Providing a polished, professional and ultimately user friendly and useful tool is our constant goal.
    The broader our customer base grows, the more demands we have. This is a good and exciting position to be in, although it might mean that we need to slow down on our release cycles.
    Release 2.0 should address more of the threading and memory leaks displayed as the team have rewritten some of the sections. As for resources, it's true we're a small team and we get on with the work that we do.It might be a little slower than some would like, but I'm not convinced that having large team is necessarily always the answer.
    As ever, some of the points mentioned could be added to the Exchange. We'll be reviewing and updating the Exchange again in the New Year.
    I think there is another point to add to your list. A lot of what the tool is and will become is from a positive customer interaction we have had to date. While we continue to grow this, I think the product will grow and improve. The forum and all the positive interactions that happen here are key to taking the product forward.
    Regards
    Sue

Maybe you are looking for

  • Acrobat 9 – An error occurred

    Hi I'm running up-to-date system 10.6.5, acrobat 9 and latest Office 2011. When I use the comments/attach for email review from Acrobat it gives an error "An error occurred while trying to create a mail document.  Acrobat is unable to complete your r

  • Can i do facetime with pc user?

    C How do i do facetime with android and pc user friends?

  • Query Builder dynamicly change the request

    Hello, I use VS2010 with ODT 11.2.0.1.1 and I have strange behaviour with the "Query Builder"... When I enter this request: SELECT ARTICLE_PCH.AP_CODE ....ARTICLE_SAP.AS_USAGE_UNIQUE FROM ARTICLE_SAP, ARTICLE_PCH WHERE ARTICLE_SAP.AS_NUMERO = ARTICLE

  • Can we improve iOS 7 for senior citizens?

    I support 20-30 people in the local community here and most are senior citizens.  iOS 7 has been a big miss with this group of people. We immediately used accessibility to turn off parallax and to fatten the fonts.  This helps, but they still object

  • ADF UIX MultipleSelection - Retaining Values

    Can anybody provide a working code snippet which retains rows selected and data entered in a multiple selection UIX component, after doing a page refresh or page submit. Using JDev 9.0.5.2. Thanks SN