Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error in JDBC ODBC  RSS feed

 
Arun Somasundaram
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!