![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Sql Anywhere 10.0.1 3750 OS Server 2008 Framework 3.5. My app is not able to connect to database. I am getting this error. ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified congfig file is below. ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="Company" value="45"/ add key="dbConnection" value="Dsn=ServerA;Driver={SQL Anywhere 10};uid=dba;pwd=sql"/ /appSettings /configuration Program is reading the app.config key but not able to connect. TIA SanJay |
#3
| |||
| |||
|
|
Given this is a Driver Manager error, I would assume you have created a **user** data source but the application [?OS Server 2008?] is running as a service and can only see ***SYSTEM*** data sources. If that is your problem creating the DSN as a SYSTEM DSN should resolve this. Otherwise, the DSN is just not there, at least not on the machine running the application reporting the error. "SanJay" <aa (AT) a1 (DOT) com> wrote in message news:4a78ae71$3 (AT) forums-3-dub (DOT) sybase.com... Sql Anywhere 10.0.1 3750 OS Server 2008 Framework 3.5. My app is not able to connect to database. I am getting this error. ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified congfig file is below. ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="Company" value="45"/ add key="dbConnection" value="Dsn=ServerA;Driver={SQL Anywhere 10};uid=dba;pwd=sql"/ /appSettings /configuration Program is reading the app.config key but not able to connect. TIA SanJay |
#4
| |||
| |||
|
|
Given this is a Driver Manager error, I would assume you have created a **user** data source but the application [?OS Server 2008?] is running as a service and can only see ***SYSTEM*** data sources. If that is your problem creating the DSN as a SYSTEM DSN should resolve this. Otherwise, the DSN is just not there, at least not on the machine running the application reporting the error. "SanJay" <aa (AT) a1 (DOT) com> wrote in message news:4a78ae71$3 (AT) forums-3-dub (DOT) sybase.com... Sql Anywhere 10.0.1 3750 OS Server 2008 Framework 3.5. My app is not able to connect to database. I am getting this error. ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified congfig file is below. ?xml version="1.0" encoding="utf-8" ? configuration appSettings add key="Company" value="45"/ add key="dbConnection" value="Dsn=ServerA;Driver={SQL Anywhere 10};uid=dba;pwd=sql"/ /appSettings /configuration Program is reading the app.config key but not able to connect. TIA SanJay |
![]() |
| Thread Tools | |
| Display Modes | |
| |