I faced this problem and it took me a lot of time to solve. This problem may occur for many cases - not for any particular case.
My scenario:
I deployed my application to IIS, which was an mvc 4 application and oracle 11g was in backend, and I found that error. Spent a lot of time, found many solution over google but ultimately I found the solution was easy...
Go to the deployed application pool> advanced settings > then enable 32 bit application to TRUE.
that's it... enjoy...

No comments:
Post a Comment