Export (0) Print
Expand All

Renaming a Web Service Extension

Updated: August 22, 2005

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

You can rename a Web service extension you have added to IIS. Web service extensions included with IIS, however, cannot be renamed.

You can rename a Web service extension either in IIS Manager, or by directly editing the MetaBase.xml file. Using IIS Manager, the Web service extension you want to rename must first be removed, and then added using the new name. Renaming a Web service extension by editing the MetaBase.xml file is a more direct approach. Both methods are explained here.

ImportantImportant
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 rename a Web service extension using IIS Manager

  1. In IIS Manager, expand the local computer, and then click Web Service Extensions.

  2. In the details pane, right-click the Web service extension that you want to rename, and then click Delete.

  3. At the confirmation prompt, click Yes.

  4. Add the Web service extension, using the new name for the extension.

To rename a Web service extension by editing the MetaBase.xml file

  1. Make sure that the metabase edit-while-running feature enabled.

  2. Open the \Windows\System32\Inetsrv\MetaBase.xml file in a text editor.

  3. Search for the name of the Web service extension that you want to rename, and then edit the name.

  4. Save and close the MetaBase.xml file.

  5. To verify that the Web service extension was renamed, in IIS Manager, right-click the Web Service Extensions folder, and click Refresh.

    The Web service extension is displayed with the new name in the details pane.

Related Information

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft