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 webpage, it is because our shared hosting environment only runs at medium trust level. Users will not have the privilege to change the ASP.NET2.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.
However, you may have a check on the following MSDN link for further information and make necessary changes to your script in order to make it running under medium trust level:
http://msdn.microsoft.com/en-us/library/ms998341.aspx
- 1 کاربر این را مفید یافتند