Documentos de Académico
Documentos de Profesional
Documentos de Cultura
0)
The metabase is a hierarchical store of configuration information and schema that are used to
configure Internet Information Services (IIS) 6.0. Read this section for an overview of the
metabase structure and terminology, as well as detailed information about effectively managing
the IIS 6.0 metabase by using the graphical user interface (GUI)–based and command-line
utilities that are available with IIS 6.0.
• The change violates metabase schema; for example, a property name is misspelled.
The in-memory metabase is write-locked by someone making a simultaneous change by
•
using ADSI, ABO, or WMI to modify the same metabase node or property.
The key in the in-memory metabase that changes were made to in MetaBase.xml does not
•
exist. This could occur if an administrator deletes the key in the in-memory metabase, by
using a programmatic interface or IIS Manager, before MetaBase.xml is changed and saved
to disk.
If a change is not written to the in-memory metabase for any of the reasons listed above, an
error or warning is sent to the event log.
Step 8: IIS creates a new history file that contains the contents of the
corresponding history file and the changes that were written to the in-memory
metabase.
A history file is created in the History folder. This new file includes the combination of contents
of the corresponding history file plus the changes that were written to the in-memory metabase
in step 7. The new history file is named with the major version number that was found within
MetaBase.xml (the value of the HistoryMajorVersionNumber property that was determined in
step 2) and the next highest minor version number. IIS looks within the History folder to find
the highest minor version number that was used for the same major version number, and it
uses the next sequential minor version number to name the new history file. This naming
convention permits succeeding edits to the same major version of the file to work correctly.
Procedures
To enable metabase edit-while-running using IIS Manager
1. In IIS Manager, right-click the local computer, and then click Properties.
2. Select the Enable Direct Metabase Edit check box.
Important
You must be a member of the Administrators group on the local computer to run scripts and
executables. As a security best practice, log on to your computer by using an account that is not
in the Administrators group, and then use the runas command to run your script or executable
as an administrator. At a command prompt, type runas /profile
/user:MyComputer\Administratorcmd to open a command window with administrator rights
and then type cscript.exeScriptName (include the script's full path and any known
parameters).