简体   繁体   English

与Oracle Visual Studio Community 2015 WindowsForms的连接

[英]connexion with Oracle Visual Studio Community 2015 windowsForms

I compiled my application as x64 bit and tried to run it on x64 , when, I add a new connexion Oracle , there was an Error : 我将应用程序编译为x64位,并尝试在x64上运行它,当我添加一个新的connexion Oracle时,出现错误:

Attempt to load Oracle client libraries threw BadImageFormatException. 尝试加载Oracle客户端库时抛出BadImageFormatException。 This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed. 在安装了32位Oracle客户端组件的64位模式下运行时,将发生此问题。

I have searched to solve this issue here , I does this change but, The issue persist again. 我有搜索来解决这个问题在这里 ,我做这种改变,但问题仍然存在再次。

Can somebody have an idea ? 有人可以有个主意吗? Thanks in Advance. 提前致谢。

Change the architecture to x86 as you gave the 32 bit drivers installed and 32 bit also will work on the 64bit architecture. 在安装32位驱动程序后将体系结构更改为x86,并且32位也将在64位体系结构上工作。 The other option is to find the 64 bit drivers amd then change the reference ot Oracle in the application to the 64 bit version 另一个选择是找到64位驱动程序amd,然后将应用程序中的Oracle参考更改为64位版本

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

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