title: JTDS driver not working for Sql Server 2008R2 and Denali Native SSPI library not loaded. Check the java.library.path system property
body: <p>I am trying to connect Sql Server Data Base using windows authentication from my application using JTDS driver but i got following error</p>
  
  <blockquote>
    <p>SSO Failed: Native SSPI library not
    loaded. Check the java.library.path
    system property.</p>
  </blockquote>
  
  <p>Following are the scenarios where i tried to resolve but still something is missing..</p>
  
  <ol>
  <li>i have added ntlmauth.dll in system directory and it works fine for Sql server 2005.</li>
  <li>But the same thing i tried for Sql Server 2008 R2 and Denali but it gives me the same error as i mentioned above </li>
  <li>Also i considered bit i mean i copied ntlmauth.dll from x64\SSO\ path in system directory.</li>
  </ol>
  
  <p>I an confused why this is not working for Sql Server 2008 R2 and Denali.</p>