my dog learned polymorphism*
The moose likes JDBC and the fly likes JDBC this driver is not configured for integrated authuntication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC this driver is not configured for integrated authuntication" Watch "JDBC this driver is not configured for integrated authuntication" New topic
Author

JDBC this driver is not configured for integrated authuntication

Hossam El-Gazzaz
Greenhorn

Joined: Oct 22, 2008
Posts: 20
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
Marshal

Joined: Mar 22, 2005
Posts: 41116
    
  45
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.


Ping & DNS - my free Android networking tools app
Hossam El-Gazzaz
Greenhorn

Joined: Oct 22, 2008
Posts: 20
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

Joined: Apr 14, 2004
Posts: 10336

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.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
Don't get me started about those stupid light bulbs.
 
subject: JDBC this driver is not configured for integrated authuntication
 
Similar Threads
MS SQL Server and Java...
How to improve performance.....
database problematics
Don't Find EJB tab in Visual Age
Jar file exception due to not finding Oracle driver but other standalone programs can use it