aspose file tools*
The moose likes JDBC and the fly likes no dafault driver specified Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "no dafault driver specified" Watch "no dafault driver specified" New topic
Author

no dafault driver specified

rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Hi,

I am trying to connect to MS Access database using dynamic DSN but I am getting the error as
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I am giving the source code:



Rakesh Kadulkar
Herman Schelti
Ranch Hand

Joined: Jul 17, 2006
Posts: 387
I think you need to use { instead of (

Try to change:


into:



(I found this at http://www.rgagnon.com/javadetails/java-0107.html)

good luck,
Herman
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: no dafault driver specified