Security error: Security.Permissions.SecurityPermission

Discussion in 'Third-party applications' started by someobscureword, Jul 20, 2011.

  1. I am trying to deploy 3rd party application webOrb to my site. I have changed the trust level on the site to Full(internal), yet when I try to run the application, I get security error.

    Any ideas?


    "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.

    Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
    "
     
  2. FredC

    FredC Winhost Staff

    This is definitely a trust level error.

    Make sure you put the Full Trust setting in the application root.
     
  3. Did you put <trust level="Full" /> in your web.config file, inside <system.web> tags?
     

Share This Page