WinHost Support Portal
Language
 
Home>Knowledge Base>Programming/Error Message/Sample Code>ASP.NET>Changing the default ASP.NET Trust Level
Information
Article ID657
Created On8/17/2009
Modified4/13/2010
Share With Others
Changing the default ASP.NET Trust Level
The default ASP.NET Trust level is set to Medium.

In general, most applications should run fine under Medium Trust. If your application requires Full Trust, you can override the trust level at the application level by adding the following to your web.config file:

<configuration> 
  <system.web> 
    <trust level="Full" /> 
  </system.web> 
</configuration> 

If you run in to problems using this code, please post in our community forum. Technical support cannot assist with specific coding related issues.