Developers community number 1 connection string reference

ERROR [IM002][Microsoft][ODBC Driver Manager] Datasource name not found and no default driver specif

Posted 2010-05-12 16:51
by SUBHANKAR RUJ
in the Exchange Forum
I am facing this problem while developping the web application using MySql and Dot Net 2005

Please help...
Reply 2010-05-14 06:59
by Max Wikström
in the Exchange Forum
What connection string are you using?
Reply 2010-08-10 09:16
by noupi romi
in the Exchange Forum
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;
}
Copyright © 2012 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.