This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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: 2543
    
  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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...
 
It's not a secret anymore!