This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
2017-10-19 17:07
876 查看
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
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 installed
- 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.
- Running in 64 bit mode with the 32 bit Oracle client installed问题
- The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible
- How to tell if you’re running the 32 bit or 64 bit kernel in Mac OS X Snow Leopard
- Internet Information Services is running in 32-bit emulation mode. Correct the issue listed above and re-run setup.
- Make sure you have the 32 bits Oracle Client installed.
- The Best Way to Use a 32-Bit DLL Library in a 64-Bit Platform
- Fix the problem:xxx is not in the sudoers file.This incident will be reported
- [Graphics] UIColor created with component values far outside the expected range, Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug. This message will only be logged once.
- 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed
- [转]解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- Unzip 6.0 fails to compile under 64-bit systems with the instructions in the book
- You receive a C4226 or a C4236 error message when you compile code to contain the keyword in 32-bit Visual C++(ZZ)
- [oracle] 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed
- We have detected that MySQL products under the Commercial license are installed. In order to proceed with this GPL installation these Commercial
- oracle is not in the sudoers file.This incident will be reported的解决
- 解决win7 64位操作系统下安装PL/SQL后连接报错问题: make sure you have the 32 bits oracle client installed
- 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed
- 解决X64操作系统PL/SQL连接报错问题 make sure you have the 32 bits oracle client installed