代码改变世界

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-02-28 23:55  J.I.E  阅读(318)  评论(0编辑  收藏  举报

I have installed a Web application on IIS 7.0 windows server 2008 R2 64 bit OS 
I am refering a oracle.DataAccess.dll
When i try to acess the application i am getting the below message
"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.".

 

 

解决办法:     need to enable 32-bit applications in your AppPool.