首页 > 数据库技术 > 详细

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

时间:2017-10-19 17:20:14      阅读:955      评论:0      收藏:0      [点我收藏+]

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 installed.

原文:http://www.cnblogs.com/cicada/p/7693571.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!