Ben ,

Make sure your  System DSN ( pwd )is properly configure, if it still doesn't work then U may need to  update your Driver.
 
 

Rizwan Quadri.
Web Developer
PieNet Global
http://www.pienet.net
[EMAIL PROTECTED]
 

Benjamin Aladenise wrote:

  Hi ,My name 's Ben ,I'm a French student and I've got a real problem with a servlet and JDBC.This is a part of my source that seems to be good but occurs ERRORS !!! : public boolean dbconnect(){try{   Connection Connect;   String url="jdbc:odbc:pwd";
   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");   Connect=DriverManager.getConnection(url);   return true;}catch(ClassNotFoundException e){
   System.out.println("CNFE");
   return false;}
catch(SQLException e){
   System.out.println("sqlExcept....."+e.toString());
   return false;}} The error message is : java.sql.SQLException: [Microsoft][Pilote ODBC Access 97 ODBC driver]Erreur générale Impossible d'ouvrir la clé de registre 'DriverId'. (means)->General Error can't open 'DriverId' register key. Sending me a short mail about this message would be really helpfull for me.Thank you for all. Ben.
 

Reply via email to