This problem will occur when running in 64 bit mode with the 32 bit Oracle client components install

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了This problem will occur when running in 64 bit mode with the 32 bit Oracle client components install相关的知识,希望对你有一定的参考价值。

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. ---> System.BadImageFormatException: 试图加载格式不正确的程序。 (Exception from HRESULT: 0x8007000B)
at System.Data.Common.UnsafeNativeMethods.OCILobCopy2(IntPtr svchp, IntPtr errhp, IntPtr dst_locp, IntPtr src_locp, UInt64 amount, UInt64 dst_offset, UInt64 src_offset)
at System.Data.OracleClient.OCI.DetermineClientVersion()

解决方案:

应用程序池 --》选择对应程序池 右键 高级--设置启用32位应用程序为True 

以上是关于This problem will occur when running in 64 bit mode with the 32 bit Oracle client components install的主要内容,如果未能解决你的问题,请参考以下文章

Android studio报错,Error:Gradle: A problem occurred configuring root project 'MyFuck'.

Android gradle 打包错误A problem occurred configuring project ':app'.

flutter A problem occurred configuring root project 'fluttertoast'.

错误记录Android Studio 编译报错 ( A problem occurred starting process ‘command ‘ninja.exe‘ ‘ )

MyEclipse创建Maven项目问题, problem Occurred:Updating maven projects has encountered a problem.

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1)