Share via


Importing Metabase Elements with IIS Manager

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

If you have created a metabase export file, you can import that file into the metabase configuration file on the same computer or another computer running a member of the Microsoft Windows Serverâ„¢ 2003 family. To import a file by using a command-line script, see Importing IIS Configurations Using Iiscnfg.vbs.

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 import metabase elements

  1. Before importing metabase elements from a file, make sure you have removed or changed all machine- and system-specific information. For more information, see Machine-Specific and System-Specific Information.

  2. In IIS Manager, double-click the Local Computer; right-click the Web site, FTP site, virtual directory, or application pool node to which you want to import configuration data; point to New; and then, depending on the type of node to which you want to import configuration data, click Web Site (from file), FTP Site (from file), Virtual Directory (from file), or Application Pool (from file).

  3. In the File box, type the path to your import file or click Browse to locate it.

  4. Click Read File, click the object whose configuration you want to import, and then click OK.

  5. If the element already exists in the metabase, the following message appears: This <element> already exists. You can choose Create a new <element> or Replace the existing <element>, and then click OK. Note that if you choose to replace the existing element, you lose all previous configuration settings.