mysql odbc im014,错误[IM014] [Microsoft] [ODBC驱动程序管理器]指定的DSN包含驱动程序和应用程序之间的体系结构不匹配...

how can i fix this error? ERROR [IM014] [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.. it is occuring in a new project that i am doing... im using vb 2008 , MYSQL as my database and windows 8.1 as my OS

i read on forums that you just fix with the odbc administrator tool... i tried creating my DSN there but it still doesnt work... i tried opening an old project of mine it works fine.. but this new project keeps getting that error.. i need this to work so that i can do my crystal reports.. i've been trying to fix this error for a full day now and i cant fix it..

can someone help me?

THANKS..

解决方案

its a 64 vs 32 bit issue. You are accessing a 32 bit odbc driver on a 64 bit system.

IF YOU OPEN c:\windows\system32\odbcad32.exe you will not see a driver there that is in c:\windows\syswow64\odbcad32.exe (or just the opposite)

Check the target platform of your application, and if that doesn't fix it, you might be able to sneak by just installing the correct driver ( 64 or 32 bit )

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这个错误通常表示驱动程序应用程序之间体系结构不匹配,例如,32位的应用程序尝试连接64位的驱动程序或者反过来。这个错误可能由以下原因引起: 1. 应用程序驱动程序之间体系结构不匹配。 如果应用程序是32位的应用程序,则必须使用32位的驱动程序来进行连接。同样的,如果应用程序是64位的应用程序,则必须使用64位的驱动程序来进行连接。如果应用程序驱动程序之间体系结构不匹配,就会出现这个错误。 2. DSN配置错误。 如果DSN配置错误也有可能导致这个错误。例如,DSN配置使用了错误驱动程序或使用了错误体系结构。 3. 驱动程序没有正确安装或注册。 如果驱动程序没有正确安装或注册,也可能导致这个错误。在这种情况下,需要检查驱动程序是否正确安装或注册。 解决这个问题的方法通常有以下几个: 1. 确认应用程序驱动程序之间体系结构是否匹配。 如果应用程序是32位的应用程序,则必须使用32位的驱动程序来进行连接。同样的,如果应用程序是64位的应用程序,则必须使用64位的驱动程序来进行连接。 2. 确认DSN配置是否正确。 检查DSN配置使用了正确的驱动程序,以及使用了正确的体系结构。 3. 确认驱动程序是否正确安装或注册。 确认驱动程序是否正确安装或注册。如果没有正确安装或注册,需要重新安装或注册驱动程序。 总之,这个错误通常是由应用程序驱动程序之间体系结构不匹配引起的。需要检查应用程序驱动程序之间体系结构是否匹配,以及DSN配置和驱动程序是否正确安装或注册。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值