jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: http://aspose.com/file-tools
subject: MS Access DSN Less conn. Problem
It's not a secret anymore!