DSN name containing "driver" gives error


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: DSN name containing "driver" gives error

  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, 02:37 PM
  2. DTS/linked server error #6
    By John M. in forum Database
    Replies: 0
    Last Post: 05-17-2001, 04:01 PM
  3. NullPointerException when reading text file
    By Andrew McLellan in forum Java
    Replies: 3
    Last Post: 05-09-2001, 06:34 PM
  4. verify local admin
    By Patrick Comeau in forum VB Classic
    Replies: 6
    Last Post: 03-22-2001, 11: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, 04: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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