- First you need to delete or comment out every thing inside <system.codedom> </system.codedom>
- Second step is, go to <system.web></system.web> and add <trust level=”Full” />
That’s it.
Now deploy the web.config file on the server and try to access the application. It will work 😄😄