Metabase Structure in IIS 6.0 (IIS 6.0)
The XML declaration <?xml version = "1.0"?> occupies the first line in MetaBase.xml and indicates that the file is formatted as XML. The root element, named <configuration>, contains all other elements.
The IIS_Global key is the highest-level key in the metabase that contains properties. Consider the IIS_Global key to be read-only; do not configure its properties.
The IIS_ROOT key (Location = /) is the highest-level key in which you can configure properties. Properties that are configured at the IIS_ROOT key affect the general operation of IIS.
The IIsComputer key (Location = /LM) contains all remaining metabase locations. Table 4.3 lists, in hierarchical order, child locations that can exist within the namespace of the /LM location. The File Transfer Protocol (FTP), Network News Transfer Protocol (NNTP), and Simple Mail Transfer Protocol (SMTP) components are not installed with IIS by default. Therefore, the /LM/MSFTPSVC, /LM/NNTPSVC, and /LM/SmtpSvc locations do not exist in MetaBase.xml unless their respective components have been installed.
The Local Machine Namespace
The local machine (LM) namespace is the parent location in the hierarchical structure of keys where all services and sites are organized. These keys, each of which contains their own unique location, are organized in the following format:
Where the replaceable parameters are:
Each site is a server instance, and is referred to by the number used in its namespace. For example, /LM/W3SVC/1 specifies the location of the key that contains the first Web site, and /LM/MSFTPSVC/3 specifies the location of the key that contains the third FTP site.
Beginning with IIS6.0, the default Web site is numbered 1, and when a new Web site is created, a Web site identification number is randomly generated based on the name of the Web site. You can enable sequential numbering of Web sites, which was the method of generating Web site identification numbers in IIS5.1 and earlier, by setting the IncrementalSiteIDCreation registry key to 1.
Table 4.3 lists the locations of the parent keys that are contained in the LM namespace. Because their child keys are too numerous, they are not listed here.