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.
|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".|
To rename a Web service extension using IIS Manager
In IIS Manager, expand the local computer, and then click Web Service Extensions.
In the details pane, right-click the Web service extension that you want to rename, and then click Delete.
At the confirmation prompt, click Yes.
Add the Web service extension, using the new name for the extension.
To rename a Web service extension by editing the MetaBase.xml file
Make sure that the metabase edit-while-running feature enabled.
Open the \Windows\System32\Inetsrv\MetaBase.xml file in a text editor.
Search for the name of the Web service extension that you want to rename, and then edit the name.
Save and close the MetaBase.xml file.
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.
For more information about adding a Web service extension, see Adding a Web Service Extension.