Salesforce

Error "The specified DSN contains an architecture mismatch between the Driver and Application" when connecting via DataServer for MS SQL Server

« Go Back

Information

 
TitleError "The specified DSN contains an architecture mismatch between the Driver and Application" when connecting via DataServer for MS SQL Server
URL NameP169801
Article Number000117421
EnvironmentProduct: OpenEdge
Version 10.2x
OS: Windows 64-bit
Other: SQL Server ODBC driver
Question/Problem Description
Error "The specified DSN contains an architecture mismatch between the Driver and Application" when connecting via DataServer for MS SQL Server
Steps to Reproduce
Clarifying Information
- Using the SQL Server ODBC driver
- OpenEdge version used is 32-bit
- OpenEdge version used is 64-bit

 
Error MessageError "The specified DSN contains an architecture mismatch between the Driver and Application" when connecting via DataServer for MS SQL Server
Error "The specified DSN contains an architecture mismatch between the Driver and Application" when attempting a schema pull via DataServer for MS SQL Server
Could not connect to "<database>" as "<user>"
IM014: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application
Defect Number
Enhancement Number
Cause
There is a mismatch between the bit pattern of the client executable and the ODBC driver.

If the client application is 32-bit but the ODBC driver is 64-bit then this error will occur.
or
If the client application is 64-bit but the ODBC driver is 32-bit then this error will occur.


If the ODBC DSN has been created using %WINDIR%\System32\odbcad32.exe so the ODBC driver used in the DSN is 64-bit. The 32-bit Progress client cannot access the 64-bit ODBC driver.

If the ODBC DSN has been created using %WINDIR%\SysWow64\odbcad32.exe so the ODBC driver used in the DSN is 32-bit. The 64-bit Progress client cannot access the 32-bit ODBC driver.
Resolution
Recreate the ODBC DSN.
If the client executable is 32-bit use %WINDIR%\SysWow64\odbcad32.exe.
If the client executable is 64-bit use %WINDIR%\System32\odbcad32.exe

On 64-bit systems the version of odbcad32.exe in %WINDIR%\SysWow64 is 32-bit and accesses 32-bit ODBC drivers.
On 64-bit systems the version of odbcad32.exe in %WINDIR%\System32 is 64-bit and accesses 64-bit ODBC drivers.
Workaround
Notes
Keyword Phrase
Last Modified Date11/19/2015 10:27 AM

Powered by