The specifiedDSN contains an architecture mismatch between the Driver and Application


如果报下面的错误信息:

The specifiedDSN contains an architecture mismatch between the Driver and Application

如果在64位的机器上用64 的ODBC,而IIS 是运行在32 位状态的,就会报这样的错误。

 

解决方法如下:

配置:

c:\windows\sysWOW64\odbcad32.exe.

 

这个ODBC 是 64 位 机器运行在 32位的 ODBC 。

 

如果要用回原来的。则切换为 :

c:\windows\system32\odbcad32.exe.

 

即可。下面是相关文章:

 

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 orremove a DSN that connects to a 32-bit driver, for example, Driver do MicrosoftAccess (*.mdb), you will receive the following error message:

The specified DSN contains an architecture mismatch between the Driver andApplication

To resolve this error, use the 32-bit odbcad32.exe toconfigure or remove the DSN.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值