The specified DSN contains an architecture mismatch between the Driver and Application (zz.IS2120@B)

The specified DSN contains an architecture mismatch between the Driver and Application

如果希望DSN使用32位的驱动,应该使用c:\windows\sysWOW64\odbcad32.exe

//z 2013-01-16 12:45:10 IS2120@BG57IV3.T395188329 .K[T21,L319,R11,V383]
1.I created system dsn in odbc 32 bit and 64 bit under same name. the report server reads 32 bit and portal reads 64 bit so now its working fine.
2. 一个解决方案
//z 2013-01-16 12:45:10 IS2120@BG57IV3.T395188329 .K[T21,L319,R11,V383]

On the side note, what odbc interface you used to create connection

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, use c:\windows\system32\odbcad32.exe.

If you use the 64-bit odbcad32.exe to configure or remove a DSN that connects to a 32-bit driver, for example,Driver do 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.

A data source associates a particular ODBC driver with the data you want to access through that driver. For example, you might create a data source to use the ODBC dBASE driver to access one or more dBASE files found in a specific directory on your hard disk or a network drive. Using the ODBC Data Source Administrator, you can add, modify, and delete data sources, as described in the following table.

http://msdn.microsoft.com/en-us/library/ms712362(VS.85).aspx

  • Proposed As Answer by Tom Li - MSFTModeratorFriday, July 23, 2010 9:31 AM
  • Marked As Answer by Tom Li - MSFTModeratorMonday, July 26, 2010 2:21 AM
错误 sql server odbc dsn 32bit 64bit x86 x64
原文地址:https://www.cnblogs.com/IS2120/p/6745780.html