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/archive/2013/01/16/6745780.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值