File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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: 42264
    
  64
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC this driver is not configured for integrated authuntication