• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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.
 
You get good luck from rubbing the belly of a tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!