File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Error in JDBC ODBC 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 "Error in JDBC ODBC" Watch "Error in JDBC ODBC" New topic

Error in JDBC ODBC

Arun Somasundaram
Ranch Hand

Joined: Jul 25, 2006
Posts: 63
Hi i am getting the following exception when i run the login.jsp. I use JDBC ODBC bridge driver to connect to the database.The database I use is MS Access.There is no error in jsp but still I am getting the exception

java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Here is the source cose for login.jsp:-

I set the user DSN name as forum.

Any one Help me to come out of this problem.

Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1323

Originally posted by Arun Somasundaram:

I set the user DSN name as forum

Create your DataSource with System DSN this is the next tab of user DSN in
ODBC DataSource Administration..
[ October 11, 2006: Message edited by: Saif Uddin ]

[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
I agree. Here's the link:
subject: Error in JDBC ODBC
It's not a secret anymore!