File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Error in JDBC ODBC