Adrián O.
Adrián O.

Reputation: 1

How do I solve the: Failed to load the sqljdbc_auth.dll cause is not in the java path while working in Jboss/SQL Server?

I'm new in stack overflow, I'm new to web programming. So, I'm making a web app using JSP/servlets and I'm using java 6/jboss server. When I try to connect to the server (I'm using the windows authentication, this means integratedSecurity=true in the string path) throws me the exception. I already tried to put the DLL in the bin folder in the JBoss path, in system 32, and nothing seems to work. I'm using NetBeans, by the way.

Thanks for any help.

Upvotes: 0

Views: 7342

Answers (2)

m Piroli
m Piroli

Reputation: 383

to resolve this problem try to change the name of dll files like is required in IDE enter image description here

Upvotes: 0

Anup Dey
Anup Dey

Reputation: 874

You've not added the path where sqljdbc_auth.dll is present. Find out in the system where the DLL is and add that to your classpath.

And if that also doesn't work, add the folder where the DLL is present (I'm assuming \Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\auth\x86) to your PATH variable.

1) Download the JDBC Driver here.

2) unzip the file and go to sqljdbc_version\fra\auth\x86 or \x64 3) copy the sqljdbc_auth.dll to C:\Program Files\Java\jre_Version\bin 4) Finally restart eclipse

Upvotes: 1

Related Questions