• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem on JDBC -- help urgent

 
Vids
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have just now started with my first example on JDBC, ie, the demo ex. which u get with jdk. The example is just to create a table -- Coffee. It compiles fine but when I run it gives SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
I have just installed jdk 1.2.2 and trying out with MSAccess. Please help me solve this problem.
Regards,
Shrividya.
 
KASI VISHWANATH
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HAVE U CREATED A DSN USING 32 BIT ODBC? IF NOT DO ONE AND THEN EXECUTE THE CODE

------------------
I.K.VISHWANATH
 
Vids
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I have created a File DSN using Control Panel -- 32 bit ODBC and still I am getting the same error message. Please help.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may need to create a system DSN instead.
 
Jeff Hancock
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've created a FILE DSN, SYSTEM DSN and USER DSN. The same error occurs each time. Something is missing.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic