aspose file tools
The moose likes JDBC and Relational Databases 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


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
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: 2532
    
  10

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
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...