Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies

After deploying asp.net app to the server im getting this error.

Could not load file or assembly 'Oracle.DataAccess, Version=2.112.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.

Im using Amazon EC2 instance webserver Windows-2008R2-SP1, i downloaded and installed Oracle client from this link http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html lateset one Release3

i checked Oracle.DataAcees version in webserver Windows/assembly folder it is same as Version=2.112.2.0, PublicKeyToken=89b483f429c47342 which is in config file.

Please let me know how to solve this issue. Your help is very much needed.

Thankyou

like image 544
praveenb Avatar asked Jul 26 '11 22:07

praveenb


1 Answers

On the webserver goto IIS console select applicationpool that you are using and right click->Advanced settings->Enable 32 bit=true

Solved issue. Hope someone will benefit ....

like image 116
praveenb Avatar answered Sep 28 '22 23:09

praveenb