Reputation: 616
I am trying to create a new database connection to SQL Server in Eclipse, and I am getting the following error:
*com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:f76bec48-e9f8-4a03-aea3-4840e8674267*
Environment details:
Steps that led to the error:
This is where I get the error noted above.
What I have tried to fix the error:
Every time I try to ping this connection, I get the same error:
*com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:733c823d-b740-4f70-89a4-4109a03dad58*
However, I am able to connect to this server/database with Windows Authentication via SQL Server Management Studio.
Thanks for your help!
Upvotes: 0
Views: 2026
Reputation: 21
Late response for anyone who might still run into this... I had to drop a copy of the mssql-jdbc_auth-X.Y.X.x64.dll file (from the driver's sqljdbc_X.Y\enu\auth\x64 folder) into the java.library.path on my Windows 10 machine and restart eclipse. After that, I was able to connect using the integrated security. BTW, the java.library.path should, in part, reflect your Windows environment's PATH variable.
Upvotes: 1