错误处理:"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 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.如下图: 

错误处理:"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."

错误处理:"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."

错误处理:"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."

上一篇:linux下WIFI模块使用:wpa_supplicant工具交叉编译以及配置


下一篇:VirtualBox启动时出现error: The machine is not mutable