在Windows 7中的oracle错误64位

问题描述:

我安装了windows-7 64位。当我尝试运行我的程序(适用于Oracle 11g)时,出现此错误:在Windows 7中的oracle错误64位

Attempt to load Oracle client libraries threw BadImageFormatException 
this problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed 

可能是什么问题?我可以在哪里下载64位Oracle客户端?

(我可以得到任何链接下载)提前

感谢

你从尝试下载64位Oracle客户端:

http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.htmlBlockquote

这看起来可能是正确下载:

Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64)
win64_11gR2_client.zip (615,698,264 bytes) (cksum - 2947608743)
Contains the Oracle Client Libraries. Download if you want the client libraries only

Alte rnatively,如果不能获得Oracle客户端的64位版本,并坚持与32位版本,那么你可以:

  1. 重建你的.NET应用程序 只能运行一个32位(x86)代替“任何CPU”或
  2. 使用CorFlags.exe (CorFlags Conversion Tool)过程 重新配置 现有的.NET应用程序的exe 为32位,而无需重建 它运行。