Oracle客户端x32和x64的共存 [英] Oracle client x32 and x64 coexistence

查看:2631
本文介绍了Oracle客户端x32和x64的共存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的客户都在那里​​,他安装了Oracle客户端的两个x32和64位版本的X64服务器。之后,他安装了我的Web应用程序,并试图运行它,他得到了试图使用不正确的格式(HRESULT 0x8007000B)加载程序异常有关Oracle.DataAccess.dll

My client have an x64 server where he installed both x32 and x64 versions of Oracle Client. After he installed my web application and tried to run it he got "An attempt was made to load the program with an incorrect format (HRESULT 0x8007000B)" exception about Oracle.DataAccess.dll

他的IIS配置为64位。

His IIS configured to 64 bit.

我的事件让他加入<< assemblyBinding >>重定向用的ProcessorArchitecture =AMD64关于Oracle.DataAccess.dll在web配置属性,但它并没有帮助。

I event asked him to add << assemblyBinding>> redirect with processorArchitecture="amd64" attribute on Oracle.DataAccess.dll in web config, but it didn't help.

我怎么能强迫我的应用程序/他的IIS /他的服务器选择合适的版本的Oracle客户端?

How can I force my app/his IIS/his server to select the right version of Oracle Client?

推荐答案

显然,甲骨文安装了32位和64位不承认对方,所以如果你第一次安装32位版本,然后安装64位版本,64位版本默认情况下,以相同的目录中32位版本进行安装。这是不好的。解决的办法是删除这两个客户端,然后再安装32位到一个目录和64位到另一个目录。

Apparently Oracle installers for 32bit and 64 bits don't recognize each other, so if you first install 32bit version and then install 64bit version, the 64 bit version will be installed by default to the same directory as 32 bit version. And this is not good. The solution was to remove both clients, and then install 32 bit into one directory and 64bit to another directory.

这篇关于Oracle客户端x32和x64的共存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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