File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes MS Access DSN Less conn. Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "MS Access DSN Less conn. Problem" Watch "MS Access DSN Less conn. Problem" New topic

MS Access DSN Less conn. Problem

Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
Hi ,
I'm getting the following error when I'm trying to connect to MS Access database using DSN less connection.

Error: java.sql.SQLException: [Microsoft][ODBC Driver Manager]
Data source name too long

The same code was working in different machine. Is it version conflict between java & the access driver.
I'm using Java 1.3

Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
I agree. Here's the link:
subject: MS Access DSN Less conn. Problem
jQuery in Action, 3rd edition