Microsoft KB Archive/815168

= How to back up and restore .NET Framework configuration and security policy files =

Article ID: 815168

Article Last Modified on 7/8/2005

-

APPLIES TO


 * Microsoft .NET Framework 1.0
 * Microsoft .NET Framework 1.1

-



IN THIS TASK

 * SUMMARY
 * Policy level file locations
 * REFERENCES



SUMMARY
This step-by-step article describes how you must back up and restore .NET Framework configuration and security policy files. Security policies define the permissions that are assigned to .NET Framework applications. Configuration files define the environment that is presented to .NET applications. These configuration files affect the system resources that are available to applications. The configuration files also affect the level of administrative credentials that the applications receive. The system administrator must make sure that .NET Framework configuration files are backed up in addition to other critical files. The system administrator must be able to restore these files to recover from a system failure. The .NET Framework stores security policies in XML files. These files are backed up and restored as ordinary files. All these files have a .config file name extension. While several .config files exist on all systems, additional .config files may be created when applications are added or new trust levels are defined.

back to the top

Policy level file locations
The following table lists critical .NET Framework configuration files and their locations.

Note The files that have the extension .cch are dynamically generated and do not have to be backed up or restored. You may find some files that have numbers appended to their .cch extensions. When you try to make backups of these files, you may receive errors because the files are in use. You must not make backups of these files because these files are cache files.

Files that have the extension .old are generated to make rolling back changes easier. These files must be backed up. These files do not affect how a system functions.

back to the top

