Here I published my MVC web application, but it cannot be opened due to a security exception error. 
I tried using <trust level="Full" /> and <securityPolicy> . If I applied one of them to a Security Exception solution, it shows a Configuration Error: 
I would be grateful for your help if you have an alternative way to solve this problem.
source share