Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

JDBC this driver is not configured for integrated authuntication

 
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

 
Rancher
Posts: 43016
76
  • 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
 
Bartender
Posts: 10336
Hibernate Eclipse IDE 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.
 
Always look on the bright side of life. At least this ad is really tiny:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic