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 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 Customer Requirements for Developers this week in the Jobs Discussion 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
Author

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: MS Access DSN Less conn. Problem
 
It's not a secret anymore!