码迷,mamicode.com
首页 > 数据库 > 详细

错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format."

时间:2014-07-16 23:21:27      阅读:638      评论:0      收藏:0      [点我收藏+]

标签:blog   http   os   2014   for   re   

情况:部署程序在 IIS 7.5 windows server 2008 R2 64 bit OS,引用“Oracle.DataAccess.dll” 

运行程序会出现:"Could not load file or assembly ‘Oracle.DataAccess‘ or one of its dependencies. An attempt was made to load a program with an incorrect format."

 

解决方式:设置IIS  app pool 允许 32bit.如下图: 

bubuko.com,布布扣

bubuko.com,布布扣

错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format.",布布扣,bubuko.com

错误处理:"Could not load file or assembly 'Oracle.DataAccess' or one of its dependencies. An attempt was made to load a program with an incorrect format."

标签:blog   http   os   2014   for   re   

原文地址:http://www.cnblogs.com/luke-lu/p/3811335.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!