Tag-Archive for » Full trust mode «

Enable Full trust mode for ASP.NET sites

To enable Full trust mode for ASP.NET sites please follow these steps-

Locate web.config file at C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG
or
%systemroot%\Microsoft.NET\Framework\v2.0.50727\CONFIG

Add the following entries at the top of the page before the entry ‘<location allowOverride=”false”>’ (Without quotes)-

<location path=”your website name here” allowOverride=”true”>
<system.web>
<trust level=”Full” originUrl=”.*”/>
</system.web>
</location>

Finally restart IIS.

***Note: Please take a copy of web.config before making the above changes***