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 Problem on JDBC -- help urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem on JDBC -- help urgent" Watch "Problem on JDBC -- help urgent" New topic
Author

Problem on JDBC -- help urgent

Vids
Greenhorn

Joined: Oct 30, 2000
Posts: 8
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

Joined: Aug 06, 2000
Posts: 60
HAVE U CREATED A DSN USING 32 BIT ODBC? IF NOT DO ONE AND THEN EXECUTE THE CODE

------------------
I.K.VISHWANATH


I.K.VISHWANATH
Vids
Greenhorn

Joined: Oct 30, 2000
Posts: 8
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

Joined: Oct 12, 2000
Posts: 5093
You may need to create a system DSN instead.


42
Jeff Hancock
Greenhorn

Joined: Nov 17, 2000
Posts: 11
I've created a FILE DSN, SYSTEM DSN and USER DSN. The same error occurs each time. Something is missing.
 
Consider Paul's rocket mass heater.
 
subject: Problem on JDBC -- help urgent
 
Similar Threads
connecting to database
JDBC connectivity
Best JDBC drivers?
How do you connect to database(sql) from an ejb application
JDBC connection on SQL Server 2005