Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

The specified DSN contains an architecture mismatch between the Driver and Application - Error comes when c++ start pointing to SQL 2012

$
0
0

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


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>