Skip to Content.
Sympa Menu

freetds - connecting to MSDE

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Riccardo Pasquini" <r.pasquini AT doublet.it>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: connecting to MSDE
  • Date: Tue, 19 Mar 2002 06:28:57 -0500


hi everyone
i have an applet that has to connect to a msde (which is in the same
machine of the www server) but i get an exception when:

Class.forName("com.internetcds.jdbc.tds.Driver");

Enumeration en = DriverManager.getDrivers();

while(en.hasMoreElements())
{
Driver myDrv = (Driver)en.nextElement();
lstDebug.add(myDrv.toString());
DriverManager.registerDriver(myDrv);
}

//here the exception
cn =
DriverManager.getConnection("jdbc:freetds:sqlserver://WWW&MSDE_IP:1433/DBNAME",
login, password);
// !!!!

st = cn.createStatement();
}
catch(Exception e)
{
throw e;
}

the exception is : java.sql.SQLException: No suitable driver
i cant understand if the driver isnt good for the MSDE or it is
misconfigured... any idea?

thnx all of u and forgive me if i did something wrong... thats my first
newsletter :)



  • connecting to MSDE, Riccardo Pasquini, 03/19/2002

Archive powered by MHonArc 2.6.24.

Top of Page