<system.codedom>
<!--remove all the contents here-->
</system.codedom>
Remove all the contents inside the system.codedom tag and add
<trust level="Full"/>
inside system.web tag
<system.web>
<trust level="Full"/>
</system.web>
<system.codedom>
<!--remove all the contents here-->
</system.codedom>
Remove all the contents inside the system.codedom tag and add
<trust level="Full"/>
inside system.web tag
<system.web>
<trust level="Full"/>
</system.web>