-
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
Similar Threads
-
By Chris H Baker in forum C++
Replies: 5
Last Post: 01-17-2007, 01:37 PM
-
By John M. in forum Database
Replies: 0
Last Post: 05-17-2001, 03:01 PM
-
By Andrew McLellan in forum Java
Replies: 3
Last Post: 05-09-2001, 05:34 PM
-
By Patrick Comeau in forum VB Classic
Replies: 6
Last Post: 03-22-2001, 10:50 PM
-
By Chris.G in forum VB Classic
Replies: 4
Last Post: 11-13-2000, 03:16 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks