Start a conversation

ASP.net medium trust level

Sample Error:

ERROR: Server Error in '/folder' Application.

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.

If you see the above error appears on your ASP.net web page, it is because our shared hosting environment only runs at medium trust level. Users will not have the privilege to change the ASPNET2.0 trust level. Due to security considerations, the FULL trust setting is not possible for shared hosting environment to be turned on and it is not possible to overwrite from client side as well.

In order to solve this problem, you may check from your local environment server if your script needed run with High Trust Level or Full Trust Level of .Net Framework. You may replace your script to suit to the .Net Framework Medium Trust Level.

However, our Windows 2008 hosting support for Full Trust Level application. Please contact our support team via support.eicra.com for further information.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Support-Agent

  2. Posted
  3. Updated

Comments