Developer SQL 4.1.2 uses Windows authentication to connect to SQL Server

I'm using SQL Developer 4.1.2 and tries to connect to SQL Server through Windows authentication.  If I use SQL Server authentication, everything works so the jTDS driver appears to be installed and working properly (I use jTDS 1.2).  When I switch to Windows authentication, I get the error

Status: Failure-Test failed: IO error: failure of the SSO: library Native SSPI has not loaded. Check the system java.library.path property.

Of course, I googled the error and came up with dozens of people asking the same question and is told to move the ntlmauth.dll from the \SSO directory to the jTDS directory in various other directories.  That seems to work for others so for the last few hours, I was copying the DLL in each directory that I can find someone on the internet suggesting without success (I do restart SQL Developer each time).  In the Directory SQL Developer, I tried

Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper

Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper\sqldeveloper\bin

Developer c:\Oracle SQL 4.1.2.20.64\sqldeveloper\jdk\jre\bin


On the off chance that something was still making reference to a directory of a SQL Developer previous install, I put it in the same directories in the front THAT SQL Developer installed on this machine.  On the theory that she was using the FMV of the machine rather than that I downloaded and installed with SQL Developer, I advanced and dropped the DLL in the directory \bin for each installation of Java, that I could find on the system.


c:\Program Files\Java\jrd1.8.0_45\bin

C:\Program Files (x86)\Java\jre1.8.0_45\bin

C:\Program Files (x86)\Java\jre1.8.0_60\bin


Still no luck.  SQL Developer, I went to help. Everything | Properties and checked that the first way to java.library.path is what I expected and where I dropped the ntlmauth.dll first.  I even put it in c:\windows and c:\windows\system32 just to be sure.


Java.Library.PathC:\Oracle SQL Developer 4.1.2.20.64\sqldeveloper\sqldeveloper\bin. C:\WINDOWS\Sun\Java\bin; C:\Windows\System32; C:\WINDOWS;


Despite the DLL just about everywhere that I guess I would need to have it, I still get the same error.  I must be missing something obvious.  But at this point I was looking at it so long that I just can't see it.


Justin



I use SQL Developer 4.1.2 and tries to connect to SQL Server through Windows authentication using jTDS 1.2

Not sure if this has anything to do with your problem, but according to jTDS - SQL Server and Sybase JDBC driver / newsand since SQL Developer 4.1.x requires Java 8, '' you should stick only to jTDS 1.2 If you need to use a version of Java before Java 7 '' . Perhaps using a version 1.3.x jTDS driver might help.

Tags: Database

Similar Questions

  • Connection to the SQL Server using Windows authentication

    I would use SQL Developer (v1.5) to connect to an instance of SQL Server 2005 uses windows authentication. I downloaded jtdw - 1.2.jar and set its e path as a preference in the TOOLS\Preferences Database\Third Party JDBC Driver dialog box.

    I was able to connect to SQL Server 2005 successfully if I use SQL authentication and provide a user_id and password.

    It is my preference to use windows for connection authentication. However, when I try to connect, I get the following error:

    Failure - i/o Error: library of native SSPI is not SSO unloaded. Check the system java library path property

    I have no idea what it means. I'm not a java programmer and I am very new to Oracle in general if someone can give me some guidance right ahead as to what lack me?

    Thank you

    After reading the thread referenced by Jim Smith (thanks!), I wanted to copy the information in this topic... and update to say that these same steps for SQLDeveloper 1.5.1 & SQL Server 2005. Don't miss step 5, if you want to enable NT authentication.

    {Of referenced post}

    SQL Developer for MS SQL SERVER 2000 Setup

    (1) install/extract SQL Developer 1.2.1 in C:\Program Files\Oracle
    Do {$sqldevhome} = C:\Program Files\Oracle\sqldeveloper

    (2) get the Pluggin JDBC SQL SERVER (jtds - 1.2.2 - dist.zip) of:
    http://sourceforge.NET/project/showfiles.php?group_id=33291&package_id=25350

    (3) unpack jtds - 1.2.2 - dist.zip
    Created: jtds - 1.2.2.jar
    \x86\SSO\ntlmauth.dll

    (4) copy the jtds - 1.2.2.jar in:
    {$sqldevhome} \jlib directory.

    (5) copy the dll in the \x86\SSO subdirectory ntlmauth.dll in:
    {$sqldevhome}\jdk\jre\bin\ntlmauth.dll

    (6) with SQL Developer:
    Go to the Menu 'tools '.
    -Preferences...
    Expand the "[+] database
    Choose "third-party JDBC Drivers.
    Click on 'add an entry '.
    Then locate your copy of '{$sqldevhome}\jlib\jtds-1.2.2.jar '.
    Note: Use the name of the jar file, not its parent for the input directory.

    7-restart SQL Developer and try your SQL Server 2000 (or SQL Server 2005) link

  • Connect to SQL Server using Windows authentication

    Allows us to connect to the SQLServer database via dblink using authentication SQL Server (Oracle 10 g DB on Windows server) HS, sqlserver db is moved to a new server and there it is configured to use Windows authentication only. Is it possible to use the dblink/HS with Windows authentication on the side of SQLServer? Oracle support answer is no, but I thought I'd ask around...

    Thank you!

    Published by: user11968137 on March 28, 2013 11:42

    Gateway for ODBC 10 g or 11g is supported only with SQL Server, not Windows authentication authentication.

    If your SQL Server is configured only for authentication on Windows, you have no other way to change the configuration of the SQL Server to support mixed Mode (Windows authentication and SQL Server authentication).

    Kind regards

    Mireille-

  • A Remote Desktop Client running Windows 7 can connect to a server running Windows server 2003?

    A Remote Desktop Client running Windows 7 can connect to a server running Windows server 2003?

    Want to know if I need to upgrade a Windows Server 2003, if remote clients are upgraded from XP to Windows 7.

    Yes, windows 7 RD client connect to Server 2003.  You will see just a security warning, but you can just click Yes and connect as usual.

  • using windows Remote Desktop connection 7 to vista

    I bought a laptop with windows 7 and I would like to know how I can remote control my Office Home premium windows vista in my laptop with windows 7.  I read that windows vista does not allow the conections using the remote desktop connection tool.

    is the different way to connect to my vista to windows 7, when I'm away from home?

    It can be done in certain versions of Vista, but not in all.  The ability is disabled by default.  Here's how to set it to the top and also explains in which versions it works:http://www.howtogeek.com/howto/windows-vista/turn-on-remote-desktop-in-windows-vista/.  Unfortunately, Home Premium is not included.

    Here is an article on how to use 3rd party free software to add Remote Desktop capablility to Home Premium:http://www.ghacks.net/2007/02/12/add-remote-desktop-access-to-windows-vista-home-editions/.  Use it at your own risk.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Error when trying to send an email or send messages in Windows Mail: the connection to the server has failed-0x800ccc0e

    emailing photos

    When I try pictures by e-mail, or send messages through the windows messaging, I get this message: the connection to the server has failed.  Subject ' emailing: Hello ' account 'imap', Server "att.net" protocol: smtp, port: 25 secure (ssl): No. ' socket error: 10060, error number: 0x800ccc0e.  Is it because I have hotmail?

    See:

    You cannot configure Windows Mail to use an e-mail account on the Web (HTTP) on a computer that is running Windows Vista
    http://support.Microsoft.com/kb/926374

    The article above, that you cannot use windows mail with hotmail and the other email account based on the web.

    Also check these:

    http://www.Vistax64.com/Vista-mail/138137-unable-send-emails-connection-server-has-failed.html

    http://www.Vistax64.com/Vista-mail/147340-connection-server-has-failed.html

  • Windows Mail in Windows Vista - the connection to the server failed.

    The connection to the server has failed. Subject 'Test', account: ' Windows
    Live Mail ', server: 'smtp.live.com', Protocol: SMTP, Port: 25, secure (SSL):
    Yes, Socket error: 10060, error number: 0x800CCC0E

    Here's the error message popped up when I tried to send a message (it
    was just a test) and I'm not sure what I'm doing wrong.  I was never able to make it work.

    Also, when I don't have a selection of 'Mail' to change the e-mail settings in the control panel (Classic view).

    Olivia

    You cannot use Hotmail in Windows Mail.

    http://www.SimpleHelp.NET/2007/02/07/a-beginners-guide-to-setting-up-Windows-Mail/

    Link above has an easy to follow Guide to set up Windows Mail.

    Contact your ISP (Internet Service Provider).

    They offer your broad band/Dial-up connection.

    Ask them to:

    username
    password for your service account to wide band/Dial-Up with them

    Server of incoming POP3 mail
    outgoing mail SMTP server

    The above information is required to set up Windows Mail.

    ISPS are usually happy to help you set up your email account.

    See you soon.

    Mick Murphy - Microsoft partner

  • Use Windows authentication integrated into vSphere SSO without joining vCenter in the field?

    Hi all.

    Our freshly installed vCenter 5.5 is not attached to our domain for security reasons (not managed by the same teams).

    VM admins need to connect with their Windows credentials, though, so that, from now on, the source of identity SSO is set to 'Active Directory as an LDAP server'.

    Single sign-on does not work with this configuration, probably because he needs the source of identity must be set to 'Active Directory (Windows integrated authentication)'.

    Is it possible to get pass through authentication works without vCenter join the Windows domain?

    SSO would not work if the machine is not joined to the tourist.

    The machine must be joined to a domain (test or in-house) to work and for SINGLE sign-on to work correctly.

    Reference KB - http://kb.vmware.com/kb/2058919

  • HP Pavilion Notebook 2247 g7: using Windows 8 - cannot connect wireless rt3290

    According to the Windows Compatibility Center RALINK rt3290 wireless driver is not compatible with Windows 8, I guess that this computer has been upgraded to Windows 7 to 8.  The computer belongs to a member of the family and seems to last 6-8 weeks is therefore more able to turn on the WIFI.  After several hours to review all the options available, I went to the Windows Compatibility Center to find that the rt3290 is not compatible with the Windows 8 operating system now on this laptop.  Y at - it a bet on day of the rt3290 to make it compatible driver or another wireless driver that can be installed to allow internet access via a pilot wireless that can be downloaded or is it necessary to connect to an external wireless router to get connectivity?  I have the opportunity to use my computer to download a compatible driver to a flash drive and then upgrade or install on HP laptop.  Someone else has solved this problem with their computer compatibility to the rt3290?

    Thank you in advance.

    Hello:

    G7-2247us came standard with the W8.

    There are W8/W8.1 drivers for this card is compatible with the W8 and W8.1.

    Try this driver... it is the most recent to W8 from HP.  It is much more recent than the one on the support page of the g7-2247.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-131223-1 & CC = US & DLC = in & LC = on & JumpID = reg_r1002_usen_c-001_title_r0004

  • Behavior of the account profile to prompt when using Windows 7 to connect to a Small Business SERVER 2003 domain

    I just got a complaint from someone saying that the guest account takes more time and more time to log the area.

    We have a number of XP machines and a couple of Windows 7 machines at the reception (to give the impression that we are a company thinging before - you know the kind).  In any case, everything is controlled by a Small Business SERVER 2003 for the integration of Windows 7 machines is that a bit of a botch as well as group policy is concerned.

    The fact is that in my diagnosis, I noticed that the guest account is only given a temporary profile whenever someone connects to use it (it is used for the interviewed work if they need Internet access for some reason any).  Thus, the profile is deleted from the registry and comments folder is removed from C; \Users as soon as they log off.  This was brought to the head when I tried to add a printer to the guest account and could not see all of the printers listed in the AD.

    Is this a normal behavior, or does all the weird sounds you?  It also works with XP in this way?

    Thanks for any input and comments.

    Angus

    Hi siham,.

    Welcome to the Microsoft community.

    I suggest you to report the issue to the TechNet Forums: http://social.technet.microsoft.com/Forums/en-US/category/w7itpro

     

    Thank you.

  • Can I use windows RT to connect to the remote desktop on your desktop of windows 7?

    I want to use the function to my surface of microsoft remote desktop to connect to my home computer while I'm in college. Anyone know if this is possible?

    Hey there,

    The short answer is, if you want to remotely connect to your PC using your Microsurf, then Yes. If you want remote connect your Microsurf using your PC, then no..

    If you need assistance with details, so let us know.

    Hope that helped,

  • version of vCenter Ops 5 Enterprise Windows - how to connect to vCenter Server?

    IM stumped...

    Ive installed vCenter Ops Enterprise edition on a Server Windows, its place and work.

    The next step for me would be to point to our vCenter servers... I can't understand how do... anyone done this?

    I need a reading vCenter server adapter, but I can't seem to a fine.

    John, file a support request... Apparently, he must get to you.

  • Connection to a SQL database with Windows authentication in a workflow?

    So far, I had a lot of chance to connect to and reading SQL DBS of workflows using SQL authentication (MS SQL). What I'm trying to do now is to connect to the databases same by using Windows authentication and I'm coming up with nothing.

    Someone at - it examples of correct connection URL and or the configuration tips to make this work? Can the vCO to connect using JDBC and Windows Auth at all in a workflow?

    Thank you!

    Colin J.

    Certainly, the best thing to do is to use the URL JDBC workflow Builder.

    It may take a little trial and error:

    If your stand-alone SQL Server, is not in the field, use the server for the Domain domain name.

    Field, use the domain for the domain domain

    If you have an instance, specify it, otherwise leave this field blank.

  • Windows SQL Server 2005 authentication

    Hi all

    I have a situation whereby I want to authenticate a user of the application to the SQL Server 2005 database with my ColdFusion 8.0.1 application. I have the following configuration:

    Server SQL Authentication Mode: mixed
    ColdFusion Service account: DOMAIN\ColdFusion
    DOMAIN\ColdFusion windows account has access to SQL Server and the database (database role 'public' - low privs)
    DSN configured in CF using any user name/pwd - Use Windows authentication - works fine, the connection is OK
    IIS 6 (Windows 2003 R2) configured to use integrated security

    What I want to do is to have the CF and IIS request essentially "pass by" connection to the domain of the remote user (eg. DOMAIN\JBloggs) and have the application executes all SQL queries by using the credentials of that user, not the credentials of the domain account CF. I want to authenticate based on remote domain user, not the user who is running the ColdFusion server. Is this possible? I can see the user id of the remote user's domain in the CGI. REMOTE_AUTH (or $remote_user@-part or whatever it is) but variable, CGI how can I IIS and CF pass this throgh value to SQL Server 2005 for use qith queries?

    Any help is appreciated.

    Ken,

    That's what I thought. I also looked into different blogs, forums, websites and so on dedicated to Flex/ColdFusion and I think that the best solution will be to use setRemoteCredentials() Flex function and functionality of cflogin/cfloginuser ColdFusion in a way. I'll work on it (unless you have the best options).

    Thanks for the info.

  • Java + Windows authentication with IIS Web service external service

    Hi all

    We have plugin from web client that has a user interface a java dataproviders. These data providers are written for data of a REST api c# hosted in IIS. This API uses windows authentication to authenticate users.

    Here is what they call the api in java code

    last URL url = new URL (path);

    final HttpsURLConnection connection = url.openConnection () (HttpsURLConnection);

    connection.setSSLSocketFactory (ClientCertificateHelper.getSSLSocketFactory ());

    connection.setHostnameVerifier (ClientCertificateHelper.getHostnameVerifier ());

    connection.setRequestMethod ("GET");

    connection.setUseCaches (false);

    connection.setDoOutput (true);

    connection.setInstanceFollowRedirects (true);

    last answer String = getResponse (connection);

    As you can see we do not explicitly set all user for this request. What we have seen in the past, is that when suppliers of calls to the api of c# java database, it passes the domain computer account (domainname\machinename$) as the user. (The WebClient vCenter service works as 'local system').  And that worked very well.

    However, there is a single environment that it is a failure.  We get the following error when calling the external API.

    [00:17:38.719 2013-12-13] [ERROR] data-service-pool-506 System.err java.io.IOException: authentication failure

    [00:17:38.719 2013-12-13] [ERROR] data-service-pool-506 System.err to sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown_Source)

    [00:17:38.719 2013-12-13] [ERROR] data-service-pool-506 System.err to sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown_Source)

    According to the newspapers IIS the incoming user name is empty. Under its weight, which means anonymous requests. (Or the failure of the negotiation of authentication. The order of authentication in IIS providers is Negotiate, NTLM).

    Could someone please give some ideas to solve this problem?

    Is it possible to make that call as the user logged on to the web client?

    Any help on this is really appreciated because we're stuck with this error.

    -Thank you

    Unfortunately, you cannot swap the JRE versions like that.  We still use Java 1.6 because of some of our libraries need.  Updating JRE could break things.

    You will need to find another way to perform authentication, as the use of the value of samlTokenXml that I mention.

Maybe you are looking for