Godaddy Security Exception Error Removal

Hi

If you get this error below then try this..

Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application’s trust level in the configuration file.

Add this in web.config



<system.Web>
...
    <trust level="Full"/>
...
</system.Web>

and this

<system.codedom>
   <compilers>
              <!-- All is removed between these tags-->
   </compilers>
 </system.codedom>

Author Profile

PREM KUMAR
PREM KUMAR
Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.
Like
Like Love Haha Wow Sad Angry

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.