• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC this driver is not configured for integrated authuntication

 
Hossam El-Gazzaz
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a little big problem

i use net beans IDE to make a desktop application
i connet with SQL server

first i was having a problem with th port and it's done

and this problem aroused

this driver is not configured for integrated authuntication

so i searched on the web and
found there is a file which called sqljdbc_xa.dll
needed to be added to the path

i dont know what path
i found the file but dont know how to integrate it with the netbeans to establish the connection
i use this connection string
jdbc:sqlserver://localhost:1433;databaseName=Clinic;integratedSecurity=true;
in the newconnection dailoge

so can any one help me

thank you

 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Native libraries generally need to be in a directory that's part of the PATH environment variable. That's independent of whether you're using an IDE or not.
 
Hossam El-Gazzaz
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a directory that's part of the PATH environment variable


so where is this directory
is that mean to put it beside the Main class
or where should i put it

if i put it in the place you mention will this make netbeans establish the connection
i need a reply please

thank you
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its not a specific directory, its an environment variable that defines a bunch of locations on the file system where executables and the likes exist. See this.

Alternatively, don;t use windows integrated authentication. SQL Server supports dadtabase authentication too.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic