aspose file tools*
The moose likes JDBC and the fly likes Error in JDBC ODBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error in JDBC ODBC" Watch "Error in JDBC ODBC" New topic
Author

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.


Arun.V.Somasundaram
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

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 ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
 
subject: Error in JDBC ODBC
 
Similar Threads
login code repeats error message
Error while retrieving column from database
Help with this code!
Data source name not found and no default driver specified
To show the Error message at the login.jsp page using servlet