Method 1: Use the Mdutil.exe toolUse the Mdutil.exe tool to modify the metabase and set the AllowReplaceOnRename property to 1. Use this method if you are running IIS 6.0 or if you are running IIS 5.0.
Note By default, the AllowReplaceOnRename property is set to 1 in Internet Information Server (IIS) 4.0. The steps in this article do not apply to IIS 4.0.
To use the Mdutil.exe tool to set the AllowReplaceOnRename property to 1, follow these steps:
- Obtain the Mdutil.exe tool.
The Mdutil.exe tool is located in the I386 folder of the Microsoft Windows 2000 CD. You must use the Expand.exe command-line tool to extract the Mdutil.ex_ file from the i386 folder of the Windows 2000 CD.For additional information about the Mdutil.exe tool, click the following article number to view the article in the Microsoft Knowledge Base:240225 Description of Adsutil and MetaEdit utilities used to modify the metabaseNote Because the property is unnamed in the IIS 5.0 metabase schema, you cannot use the Adsutil.vbs tool to set the AllowReplaceOnRename property. Use the Mdutil.exe tool to set the AllowReplaceOnRename metabase property.
- At a command prompt, change to the folder where you extracted the Mdutil.exe file from.
- Type the following command, where n is the instance number of the site that requires this property, and then press ENTER:
mdutil set msftpsvc/n/AllowReplaceOnRename 1
Note This setting only works at the site level. You cannot configure this setting at the service level.
- Restart the IIS Admin Service.
Method 2: Use Metabase ExplorerUse Metabase Explorer to modify the metabase if you are running IIS 6.0. To do this, follow these steps:
- Install Metabase Explorer if it is not already installed.
The Metabase Explorer tool is included in the IIS 6.0 Resource Kit Tools. To obtain the IIS 6.0 Resource Kit Tools, visit the following Microsoft Web site:
- Click Start, point to All Programs, point to IIS Resources, point to Metabase Explorer, and then click Metabase Explorer.
- Expand LM, and then expand MSFTPSVC.
- Right-click the number that represents the FTP site, point to New, and then click DWORD Record.
For example, right-click 1, point to New, and then click DWORD Record.
- Type 5009 in the Record Name or Identifier box, and then click OK.
- Right-click the property that you added in step 5, and then click Properties.
- Set Value to 1, and then click the General tab.
- Click to select the Inheritable check box, and then click OK.
- Quit Metabase Explorer.
ID do Artigo: 309634 - Última Revisão: 5 de jun de 2008 - Revisão: 1