aspose file tools*
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
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