ERROR [IM002][Microsoft][ODBC Driver Manager] Datasource name not found and no default driver specif
I am facing this problem while developping the web application using MySql and Dot Net 2005
Please help...
Please help...
What connection string are you using?
hi! i have a problem whith my connection :
realy i does not how to using URL String
it's java ,i want to connet whith Oracle 10g
that is my code:
public class DBconnexionOracle {
/**
* @param args the command line arguments
*/
public static String url="jdbc:oracle:thin:@mobilebelgium.be:1522/isqlplus/dba" ;
protected String username="SCOTT";
protected String pass="*********";
protected Connection dbConORA=null;
public DBconnexionOracle(){
}
public Connection getConnection() throws ClassNotFoundException, SQLException {
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
try{
dbConORA = DriverManager.getConnection(url,username,pass);
}
catch (SQLException e){
System.out.println("Impossible de se connecter à la base");
e.printStackTrace();
return dbConORA;
}
}
catch (ClassNotFoundException e){
System.out.println("Probleme avec le driver ODBC:"+ e);
return dbConORA ;
}
return dbConORA;
}
public void closeConnection(){
try {
dbConORA.close();
}
catch(Exception e){
System.out.println("erreur de fermeture "+e);
e.printStackTrace();
}
////////////////////////////////
that info to my data base
ttp://W20073016.mobilebelgium.be:1158/em
Your database configuration files have been installed in C:\oracle\product\10.2.0 while other components selected for installation have been installed in C:\oracle\product\10.2.0\db_1. Be cautious not to accidentally delete these configuration files.
The iSQL*Plus URL is:
http://W20073016.mobilebelgium.be:5560/isqlplus
The iSQL*Plus DBA URL is:
http://W20073016.mobilebelgium.be:5560/isqlplus/dba
//////////
thank y (sory for my English)
dbConORA=null;
}
realy i does not how to using URL String
it's java ,i want to connet whith Oracle 10g
that is my code:
public class DBconnexionOracle {
/**
* @param args the command line arguments
*/
public static String url="jdbc:oracle:thin:@mobilebelgium.be:1522/isqlplus/dba" ;
protected String username="SCOTT";
protected String pass="*********";
protected Connection dbConORA=null;
public DBconnexionOracle(){
}
public Connection getConnection() throws ClassNotFoundException, SQLException {
try{
Class.forName("oracle.jdbc.driver.OracleDriver");
try{
dbConORA = DriverManager.getConnection(url,username,pass);
}
catch (SQLException e){
System.out.println("Impossible de se connecter à la base");
e.printStackTrace();
return dbConORA;
}
}
catch (ClassNotFoundException e){
System.out.println("Probleme avec le driver ODBC:"+ e);
return dbConORA ;
}
return dbConORA;
}
public void closeConnection(){
try {
dbConORA.close();
}
catch(Exception e){
System.out.println("erreur de fermeture "+e);
e.printStackTrace();
}
////////////////////////////////
that info to my data base
ttp://W20073016.mobilebelgium.be:1158/em
Your database configuration files have been installed in C:\oracle\product\10.2.0 while other components selected for installation have been installed in C:\oracle\product\10.2.0\db_1. Be cautious not to accidentally delete these configuration files.
The iSQL*Plus URL is:
http://W20073016.mobilebelgium.be:5560/isqlplus
The iSQL*Plus DBA URL is:
http://W20073016.mobilebelgium.be:5560/isqlplus/dba
//////////
thank y (sory for my English)
dbConORA=null;
}
Selected Articles
