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. |
- Re: Problems between JDBC and Servlets Benjamin Aladenise
- Re: Problems between JDBC and Servlets Antonio Di Pietro TEI/INP
- Re: Problems between JDBC and Servlets Chris Pratt
- Re: Problems between JDBC and Servlets Benjamin Aladenise
- Re: Problems between JDBC and Servl... Chris Pratt
- Re: Problems between JDBC and S... William Worth
- Re: Problems between JDBC and Servlets Rizwan Quadri
- Re: Problems between JDBC and Servlets Benjamin Aladenise