Visual Studio 2012与oracle 64位连接

Visual Studio 2012与oracle 64位连接

问题描述:

我正在使用visual studio 2012,oracle llg 64位和oracle客户端64位。

无法执行我的项目。它抛出错误无法加载文件或程序集'Oracle.DataAccess'或其中一个依赖项。试图加载一个格式不正确的程序。



请提供解决问题的建议



谢谢

karthik

Hi , am using visual studio 2012, and oracle llg 64 bit and oracle client 64 bit.
am not able to execute my project. it throwing error "Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format. "

please provide suggestion to resolve the issue

Thanks
karthik





如果目标机器是32位并且您正在使用64位dll而反之亦然或者没有正确安装oracle组件,则会出现错误,例如Oracle客户端和数据访问。

尝试安装Oracle主客户端和Oracle数据访问。



希望这会有所帮助:)



问候,

Praneet
Hi,

The error occurs generally if the target machine is 32 bit and you are using 64 bit dll and vice versa or Havent installed oracle components properly, like Oracle client and data access.
Try installing Oracle home client and Oracle Data Access.

Hope this helps :)

Regards,
Praneet