如何解决BadImage异常错误 [英] How to solve BadImage Exception Error

查看:1313
本文介绍了如何解决BadImage异常错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从visual studio 2012创建与oracle服务器的连接时,我收到以下错误尝试加载Oracle客户端库引发BadImageFormat异常。使用32位Oracle客户端在64位模式下运行时会出现此问题已安装的组件



我使用的是Windows 7 - 64位

Visual Studio 2012

已安装的Oracle 11gR2 64 bit

Oracle DataAccess Components 64位,



任何解决方案.. ??

While I trying to create a connection to an oracle server from visual studio 2012, I am getting following error "Attempt to load Oracle client Libraries threw BadImageFormat Exception. This problem will occur when running in 64Bit mode with the 32 bit Oracle client components installed"

I am using Windows 7 - 64 Bit
Visual Studio 2012
Installed Oracle 11gR2 64 bit
Oracle DataAccess Components 64 Bit,

Debug Mode for all projects in my solution is "Any CPU"

Any solution..??

推荐答案

还安装 Oracle DataAccess Components 32位,现在它的能够建立连接字符串并正常工作。
Also Installed Oracle DataAccess Components 32 Bit, Now its able to make connection string and working fine.


这篇关于如何解决BadImage异常错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆