This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes ODBC Driver Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "ODBC Driver Manager" Watch "ODBC Driver Manager" New topic
Author

ODBC Driver Manager

Michael.H.Sun
Ranch Hand

Joined: Jan 18, 2001
Posts: 39
All,
When I did the connection of Java application:jdbc dbc:database, I received the following exception:
Unable to connect
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void TableDisplay.<init>()
void TableDisplay.main(java.lang.String[])
Does it tell me I should install ODBC Drive Manager?
Thanks.
KASI VISHWANATH
Ranch Hand

Joined: Aug 06, 2000
Posts: 60
If you are using an odbc driver then first create a dsn and then try to work with it.
Originally posted by Michael.H.Sun:
All,
When I did the connection of Java application:jdbc dbc:database, I received the following exception:
Unable to connect
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void TableDisplay.<init>()
void TableDisplay.main(java.lang.String[])
Does it tell me I should install ODBC Drive Manager?
Thanks.


I.K.VISHWANATH
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ODBC Driver Manager
 
Similar Threads
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
jdbc:odbc with DSN less connection for MS Access
Connecting to Oracle
connection to database - reset by peer - SQL Exception -???!!!
Data source name not found and no default driver specified