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 replaced 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.exabytes.com for further information.


Add Feedback