DSN name containing "driver" gives error
I tried connecting to SQL Server DB using a System DSN called "DxXdriver"
It gives me
Exception: java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified occurred adding connection to DxXdriver
When I changed the DSN name to some other name which does not contain "driver" string in it. It works.
I verified this even using Squirrel. I got this same exception when I tried to connect to the DB using Squirrel client. It didnt give me an exception when removed the "driver" from the DSN
Use Exception Snapshot Creator
Attach software www.cajoon.com to your Java environment (J2SE, J2EE) and get 'root-cause' for every exception
By Chris H Baker in forum C++
Last Post: 01-17-2007, 01:37 PM
By John M. in forum Database
Last Post: 05-17-2001, 03:01 PM
By Andrew McLellan in forum Java
Last Post: 05-09-2001, 05:34 PM
By Patrick Comeau in forum VB Classic
Last Post: 03-22-2001, 10:50 PM
By Chris.G in forum VB Classic
Last Post: 11-13-2000, 03:16 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL