I've published my application to my server (iis7.5 windows server 2008 R2, asp.net4). I tried to set build to x86, x64, any cpu and it doesn't worked. I tried to allow 32bit applications through IIS and still the same result.
The error occurred only when I try to get some data from database using entity framework 6.0.2. Everything working when I loading a static MCV page (without database calls).
This is my error:
Your help will be very appreciated