GeeCON Prague 2014*
The moose likes JDBC and the fly likes java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Bookmark "java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found... " Watch "java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found... " New topic
Author

java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...

deepak ts
Greenhorn

Joined: Apr 09, 2009
Posts: 1
hi deepak here,
this is my code as follows:


I am getting an error as java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...
by data source sara.mdb is in the same folder os in the code.

i tried all suggesation form net still not getting the solution.2
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2501
    
    8

create an odbc datasource in windows with the name sara, that is configured to connect to your sara database.

OCUP UML fundamental and ITIL foundation
youtube channel
 
GeeCON Prague 2014
 
subject: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...