DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007
    Posts
    1

    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

  2. #2
    Join Date
    Apr 2007
    Posts
    11

    Use Exception Snapshot Creator

    Attach software www.cajoon.com to your Java environment (J2SE, J2EE) and get 'root-cause' for every exception

Similar Threads

  1. Replies: 5
    Last Post: 01-17-2007, 01:37 PM
  2. DTS/linked server error #6
    By John M. in forum Database
    Replies: 0
    Last Post: 05-17-2001, 03:01 PM
  3. NullPointerException when reading text file
    By Andrew McLellan in forum Java
    Replies: 3
    Last Post: 05-09-2001, 05:34 PM
  4. verify local admin
    By Patrick Comeau in forum VB Classic
    Replies: 6
    Last Post: 03-22-2001, 10:50 PM
  5. Winsock32, Connect fails to connect to a peer
    By Chris.G in forum VB Classic
    Replies: 4
    Last Post: 11-13-2000, 03:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links