Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,


I want to connect my .net application into odbc server.But i cannot connect it.The error "error[IM002] DATASOURCE NAME NOT FOUND AND NO DEFAULT DRIVER IS SPECIFIED" is coming.Plz help me.How can I clear this.


My connection string is


OdbcConnection con = new OdbcConnection("Dsn=TallyODBC_9000;Driver={TallyODBC Driver};uid=sa;pwd=sa;");
Posted
Updated 2-Jun-11 23:21pm
v3
Comments
Dylan Morley 3-Jun-11 5:07am    
Post the connection string you are using

hi all

i am also doing same thing my error is

System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

if you know solution pls let me know
 
Share this answer
 
Give the connection string you are using.
It seems your driver need to upgrade.
 
Share this answer
 
Comments
sridharan28 3-Jun-11 5:21am    
OdbcConnection con = new OdbcConnection("Dsn=TallyODBC_9000;Driver={TallyODBC Driver};uid=sa;pwd=sa;");

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900