Consultor Eletrônico



Kbase P175150: Visual Studio 2008 ODBC connection to Progress database fails with architecture mismatch between the
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/10/2010
Status: Unverified

SYMPTOM(s):

Visual Studio 2008 ODBC connection to Progress database fails with architecture mismatch between the Driver and Application

Error: System.Data.Odbc.OdbcException: ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

FACT(s) (Environment):

Visual Studio 2008 32-bit
Progress 10.2B 32-bit ODBC driver
Data Source Manager is 32-bit
Windows
OpenEdge 10.2B

CAUSE:

Visual Studio 2008 had the Run64BitRuntime flag set to true

FIX:

On Visual Studio 2008 follow these steps to reset the flag to false:

1. From View - Solution Explorer
2. Open the Solution Explorer
3. In Solution Explore, right click on the solution. And select Properties.
4. On Properties screen, click on Debugging tab.
5 Set Run64BitRuntime flag to false.