Select the product you need help with
HOW TO: Restore the Default Policy Levels for ASP.NET ApplicationsArticle ID: 815165 - View products that this article applies to. On This PageSUMMARYThis step-by-step article describes how to restore the
customized policy levels to the default settings for .NET-connected applications. By default, managed assemblies are assigned one of the four trust levels: Full, High, Low, and None. These trust levels represent groups of specific rights to simplify assigning trust to managed assemblies. You can change the rights that are assigned to the High, Low, and None trust levels to meet the unique requirements of an environment. Although you must use this level of customization for some environments, it can cause problems when you run assemblies that were designed to run in a specific trust level, because those assemblies may not have access to all resources that they require. This article describes how to restore the original settings that are assigned to each of the policy levels to their default state. Trust Level Configuration FilesThe .NET Framework stores copies of the default settings for each policy level in the same folder as the active configuration files. The backup configuration files add the .DEFAULT file name extension. The following table shows the locations of the three active configuration files and the three backup configuration files.Note Configuration files exist for the High, Low, and None trust levels. However, there is no configuration file for the Full trust level. The Full trust level does not require a configuration file because assemblies that run at that level run without restrictions. Collapse this table
Restore Policy Level SettingsTo restore the default policy level settings, follow these steps:
REFERENCESFor more information about the securityPolicy element, visit the following
Microsoft Web site: http://msdn2.microsoft.com/en-us/library/zhs35b56(vs.71).aspx
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://msdn2.microsoft.com/en-us/library/zhs35b56(vs.71).aspx)
818013
(http://support.microsoft.com/kb/818013/EN-US/
)
HOW TO: Support Applications That Are Built on the .NET Framework
PropertiesArticle ID: 815165 - Last Review: April 30, 2003 - Revision: 2.6
|


Back to the top








