简体   繁体   English

Win7 64位计算机上的Oracle 2.111.7.0 32位

[英]Oracle 2.111.7.0 32 bit on Win7 64 bit machine

I install Oracle 11gR2 32 bit client on my Win7 64 bit machine. 我在Win7 64位计算机上安装了Oracle 11gR2 32位客户端。 its Oracle.DataAccess.dll's version is 2.111.7.0. 其Oracle.DataAccess.dll的版本是2.111.7.0。 When I run my code, I got this error message: Could not load file or assembly 'Oracle.DataAccess, Version=2.111.7.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. 当我运行代码时,收到以下错误消息:无法加载文件或程序集'Oracle.DataAccess,版本= 2.111.7.0,文化=中性,PublicKeyToken = 89b483f429c47342'或其依赖项之一。 The system cannot find the file specified. 该系统找不到指定的文件。 What's the problem? 有什么问题? Does it means, I cannot use this 32 bit on my Win7 64 bit machine, I have to install 64 bit version of it? 这是否意味着我不能在Win7 64位计算机上使用此32位,我必须安装它的64位版本? Because 32 bit is our company policy to install on all my user's machine. 因为32位是我们公司在所有用户计算机上安装的政策。 It is hard to change it. 很难改变它。

Thank you so much Wes 非常感谢Wes

If you run the application in 32 bit mode and link it against this specific version in the first place, it works and you can use the 32 bit version on a 64 bit system. 如果您以32位模式运行该应用程序,并且首先将其与该特定版本链接,则它将起作用,并且您可以在64位系统上使用32位版本。

To force an application to run in 32 bit mode, you have several options (partially depending on whethere it's a stand-alone application or web application), which are outline in this article . 要强制应用程序在32位模式下运行,有以下几个选项(部分取决于whethere它是一个独立的应用程序或Web应用程序),这是该轮廓文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM