I am trying to connect Sql Server Data Base using windows authentication from my application using JTDS driver but i got following error
SSO Failed: N
Try by placing the ntlmauth.dll
file in the bin
folder of your Java Runtime Environment (e.g. C:\Program Files\Java\jre7\bin
).
Be sure to match the "bitness" (32 bit or 64 bit) of the DLL with the JVM bitness.
I ran into the same issue using SQL Server Express 2008 R2 and this MSDN SQL Server Forum Article recommended this resolution, which worked for me.