Ready API 2.3 Error This driver is not configured for integrated authentication.
I'm using Ready API version 2.3.0
This is my set up
- placed mssql-jdbc_auth-8.2.2.x64.dll inside C:\Program Files\SmartBear\ReadyAPI-2.3.0\bin
- placed sqljdbc42.jar inside folder C:\Program Files\SmartBear\ReadyAPI-2.3.0\bin\ext
- Restarted the ReadyAPI
- Added Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection String: jdbc:microsoft:sqlserver://server:portname;databaseName=db name;IntegratedSecurity=true
But during test connection keep getting error: Can't get the Connection for specified properties; com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication.
Solved! Go to Solution.
I tried this about a year ago and couldnt set it up in ReadyAPI! with NTLM auth (which is why youve put the auth.dll into the bin directory).
I eventually decided to use sql auth instead (which doesnt require the dll) and i setup the connection no problem.
Ok. Ivr just checked my ReadyAPI! setup.
My default sqlserver connection string is different (although we are running different versions...im on v3.2)
Did you setup your jdbc connection string or are you using the default.
Im using sql auth, so a little different, but my sqlserver connection string (which is the default version) is as follows:
My connection string is different to yours is "jdbc:microsoft:sqlserver://server:portname;databaseName=db name;IntegratedSecurity=true"
I.e.you mention microsoft at the start which doesnt include, you dont provide a password and i dont have integratedSecurity parameter.
Are you sure these differences are correct and you must use them if you need NTLM auth?
I made few changes to my set up.
Removed mssql-jdbc_auth-8.2.2.x64.dll from C:\Program Files\SmartBear\ReadyAPI-2.3.0\bin
This is my Driver: MSSQL(MS)/com.microsoft.sqlserver.jdbc.SQLServerDriver
Connection String: jdbc:sqlserver://<servername>:1433;DatabaseName=<Name>;user=<id>;password=<password>
And now I get following error:
Can't get connection for specified properties
com.microsoft,jdbc.SQLServerException: Login failed for user 'id'
What is the authentication scheme used to login to your sqlserver database?
NTLM (windows domain) auth?
Mixed mode auth?
If youre using NTLM, then youll need the auth.dll.
Can you login to enterprise manager to check what authentication is used (and perhaps change it if necessary)? The auth type is defined in sqlservers enterprise manager.
You mention the connection string youre using has changed. Youve removed the word 'microsoft', and integratedSecurity parameter and added in the password parameter. Did you alter the existing connection string or did you add in a new one?
The reason im asking about the URL is that the error response is "Login failed for user 'id'" and im guessing your database's username is NOT 'id', so i'm wondering why this has been picked up.
For example my local sqlserver db connection string details are as follows:
In summary: its essential to determine the authentication type of the database youre trying to connect to before you try anything as this will guide thr rest of your setup.
Thanks for the suggestion, Richie!
@UserUnknown, does it help your resolve the issue?
SmartBear Community and Education Manager