Error when connecting to sql-server using windows authentication mode

56 views Asked by At

for a couple of days or weeks I am finding a solution to my problem on google but still, I don't get any solution so that's why am here to ask you to help me. Actually I am getting an error by connecting SQL server with java in Netbeans here is the error

Cannot establish a connection to JDBC:sqlserver://localhost:1433;databaseName=newdb 
using com.Microsoft.SQL server.JDBC.SQLServerDriver 
(Login failed for user ''. ClientConnectionId:7294b793-6d79-487a-be85-04cf286555a4)

I have done all settings in the SQL server which can cause to create this problem but there is no issue I really don't know why it's not connecting please guy help me with this issue I post below the screenshot of my SQL server configuration

  1. Screenshot 1
  2. Screenshot 2
  3. Screenshot 3
  4. Screenshot 4
  5. Screenshot 5
0

There are 0 answers