06
Sep 2009
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***
Category: Windows 2003
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
3 Responses
Leave a Reply

This approach doesnot work at all. Please be more specific about the configuration by giving some screen shots.
hi there,
thanks for sharing. I like to add that you can enable Full Trust mode on code basis, but your host needs to allow read and write permission on the folder as well in order for the Full Trust mode to work properly. I had problems before, but luckily my host, ASPHostCentral.com did inform me about it.
Hope this helps.
@Chandru – Where are you trying to make the above changes? In server or inside your site’s web.config? The above method should be done only in server side web.config.
Thanks,
Arun