Enabling Edit-While-Running in IIS 6.0 (IIS 6.0)

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.

Important   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".

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\Administrator cmd to open a command window with administrator rights and then type cscript.exeScriptName (include the script's full path and any known parameters).

To enable metabase edit-while-running from the command line

1.

From the Start menu, click Run.

2.

In the Open box, type cmd, and click OK.

3.

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.

  Important

All text within MetaBase.xml is case sensitive.

1.

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"

EnableEditWhileRunning="1"

EnableHistory="1"

MaxBandwidth="4294967295"

MaxHistoryFiles="10">

2.

Save changes to the MetaBase.xml file.

3.

At the command prompt, type iisreset /start, and press ENTER.

Related Information

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.



© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies
Microsoft