Share via


Enabling Edit-While-Running

The metabase edit-while-running feature can be enabled either by using IIS Manager or from the command line.

The ability to enable metabase edit-while-running depends on the metabase history feature being enabled and set to a value of at least 10. This is the default metabase history setting.

It is important to note that all text within MetaBase.xml is case sensitive.

important Important You must be a member of the Administrators group on the local computer to perform the following procedure (or procedures), or you must have been delegated the appropriate authority. As a security best practice, log on to your computer using an account that is not in the Administrators group, and then use the Runas command to run IIS Manager as an administrator. From the command prompt, type runas /user:administrative_accountname "mmc %systemroot%\system32\inetsrv\iis.msc".

To enable direct metabase edit 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.

The following procedure requires IIS to be restarted. Restarting IIS stops all sites for a short time. To enable direct metabase edit without interruption of service, use IIS Manager procedure described above.

important Important You must be a member of the Administrators group on the local computer to run scripts and executables, or you must have been delegated the appropriate authority. As a security best practice, log on to your computer 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. From the command prompt, type runas /user:administrative_accountname "script or executable command".

To enable direct metabase edit 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.
  4. Open the MetaBase.xml file with a plain text editor. By default, the MetaBase.xml file is located in the systemroot\system32\inetsrv directory.
  5. In the IIsComputer node, change the value of the EnableEditWhileRunning property from 0 (FALSE) to 1 (TRUE). The change should look as follows:
  6. Save changes to the MetaBase.xml file.
  7. At the command prompt, type iisreset /start, and press ENTER.

Related Topics