• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to Register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.


No announcement yet.

ASP.net medium trust level


Unconfigured Ad Widget

  • Filter
  • Time
  • Show
Clear All
new posts

  • ASP.net medium trust level

    WordPress Hosting on SSD Servers

    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 find above error while running ASP.net webpages from your browser, it is because your domain is hosted on shared hosting environment and our shared hosting environment only runs at medium trust level.

    Users will not have privilege to change the ASP.NET2.0 trust level due to security considerations. As far as security is concern, the full trus level setting is not possible for shared hosting environment to be turned on and it is not possible to overwrite from the client side as well.

    However, you can check the following MSDN link for further information and make necessary changes to your script in order to make it running under medium trust level.

    You may try always put tag -- trust level="Medium" -- under system.web in web.config when developing an apps to make sure the trust level same as the machine trust level. Thus, you can see the problem in localhost first without testing on the production hosting server.
    Last edited by Marc_AccuWebHosting; 05-14-2016, 09:55 AM.

  • #2
    ASP.Net Hosting starts @ $3.18/Mo.
    Please also check the below mentioned URL:

    Last edited by Marc_AccuWebHosting; 05-14-2016, 09:55 AM.



    Sign up for a News Letter Click here to sign up