Enabling Edit-While-Running in IIS 6.0
Updated: August 22, 2005
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1
Enabling metabase edit-while-running requires that the metabase history feature is enabled and set to a value of at least 10. The second procedure below requires IIS to be restarted. Restarting IIS stops all sites for a short time. To enable direct metabase edit without interruption of service, use the first procedure below.
|You must be a member of the Administrators group on the local computer to perform the following procedure or procedures. 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 IIS Manager as an administrator. At a command prompt, type runas /user:Administrative_AccountName "mmc %systemroot%\system32\inetsrv\iis.msc".|
In IIS Manager, right-click the local computer, and then click Properties.
Select the Enable Direct Metabase Edit check box.
|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\Administrator cmd to open a command window with administrator rights and then type cscript.exe ScriptName (include the script's full path and any known parameters).|
From the Start menu, click Run.
In the Open box, type cmd, and click OK.
At the command prompt, type iisreset /stop, and press ENTER. Leave the command window open.
Open the MetaBase.xml file with a plain text editor. By default, the MetaBase.xml file is located in the systemroot\system32\inetsrv directory.
|All text within MetaBase.xml is case sensitive.|
In the IIsComputer node, change the value of the EnableEditWhileRunning property from 0 (FALSE) to 1 (TRUE). The change should look as follows:
<IIsComputer Location ="/LM"
Save changes to the MetaBase.xml file.
At the command prompt, type iisreset /start, and press ENTER.
For information about enabling metabase history, see Configuring the Metabase History Feature in IIS 6.0.
For more information about the EnableEditWhileRunning property, see EnableEditWhileRunning Metabase Property.
For information about restarting IIS, see Restarting IIS.