使用 Oracle Client 64 位和 Visual Studio 2010 时出现 BadImageFormatException! [英] BadImageFormatException while using Oracle Client 64 bit and Visual Studio 2010!

查看:35
本文介绍了使用 Oracle Client 64 位和 Visual Studio 2010 时出现 BadImageFormatException!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一名开发团队成员出错

One of our dev team member got an error

尝试加载 oracle 客户端库时抛出 BadImageFormatException

Attempt to load oracle client libraries threw BadImageFormatException

好像

在安装了 32 位 Oracle 客户端组件的情况下以 64 位模式运行时会出现此问题.

This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.

但是是我配置了系统 - 以下是规格:

But it was me who configured the system - Here's the specifications:

  • Windows 7 64 位
  • Visual Studio 2010 高级版
  • Oracle 客户端 11g R2 64 位安装为运行时

有什么想法吗?

推荐答案

我最近在 64 位操作系统上运行 Visual Studio 时看到过几次这种情况.一个简单的解决方法是在您的 64 位开发机器上安装 32 位客户端.

I have seen this a couple of times recently when running Visual studio on a 64Bit O/S. A simple workround is to install the 32bit client on your 64Bit development machine.

问候,皮特

这篇关于使用 Oracle Client 64 位和 Visual Studio 2010 时出现 BadImageFormatException!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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