Dear Team,
My c++ application use system DSN (ODBC). It is working fine with SQL 2008R2.
We have migrated from SQL 2008r2 to SQL 2012. I have created new DSN for SQL 2012. Testing of DSN is fine, no issue.
When my c++ application tying to use DSN, i'm getting below error message on log file.
53914.775 (8632):: ERR EXCEPTION. ADO Connection Open Provider_ERROR_1={ 16389 <[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application>}
COM_ERROR={[-2147467259]Unspecified error; <[Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application>(source=Microsoft OLE DB Provider for ODBC Drivers)}
I create DNS - using below dll - SQLSRV32.DLL - version 6.01.7601.17514
My c++ application is in 32 bit. My hosting server is server 2008.
Regards,
Mitesh Sheth