• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Problem on JDBC -- help urgent  RSS feed

 
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.
 
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.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may need to create a system DSN instead.
 
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
Boost this thread!