System DSN vs user DSN
The Microsoft article of Managing Data Sources says the following :
To manage a data source that connects to a 32-bit driver under 64-bit platform, use
c:\windows\sysWOW64\odbcad32.exe
. To manage a data source that connects to a 64-bit driver, usec:\windows\system32\odbcad32.exe
. In Administrative Tools on a 64-bit Windows 8 operating system, there are icons for both the 32-bit and 64-bit ODBC Data Source Administrator dialog box.If you use the 64-bit odbcad32.exe to configure or remove a DSN that connects to a 32-bit driver, for example, Driver to Microsoft Access (*.mdb), you will receive the following error message:
The specified DSN contains an architecture mismatch between the Driver and Application
To resolve this error, use the 32-bit odbcad32.exe to configure or remove the DSN.
Your application is evidently 32-bit. Have you used the right odbcad32.exe to define the DSN ?