DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007

    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

    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

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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.