Microsoft KB Archive/327985

= The ASPEnableParentPaths Property Is Not Disabled on the Default Web Site or the IIS Administration Site in Small Business Server 2000 SP1 =

Article ID: 327985

Article Last Modified on 6/13/2003

-

APPLIES TO


 * Microsoft BackOffice Small Business Server 2000 Service Pack 1

-



This article was previously published under Q327985



IMPORTANT: This article contains information about editing the metabase. Before you edit the metabase, verify that you have a backup copy that you can restore if a problem occurs. For information about how to do this, see the &quot;Configuration Backup/Restore&quot; Help topic in Microsoft Management Console (MMC).



SYMPTOMS
After you install Microsoft Small Business Server (SBS) 2000 Service Pack 1 (SP1), the metabase settings for the ASPEnableParentPaths property are not changed to FALSE for the default Web site and the Internet Information Services (IIS) Administration Web site if either of the Web sites is the third Web site (w3svc/3) or higher. You do not receive warnings or error messages.

This behavior occurs on installations of SBS 2000 SP1 where either the default Web site or the Administration Web site has been moved from the default locations of w3svc/1 and w3svc/2. For example:
 * w3svc/1 - Default Web site
 * w3svc/2 - User Web site
 * w3svc/3 - IIS Administration Web site



CAUSE
During the SBS 2000 SP1 installation, only the following metabase locations are changed:
 * w3svc/
 * w3svc/1/root
 * w3svc/1/root/iishelp
 * w3svc/1/root/iisadmin
 * w3svc/2/root
 * w3svc/2/root/iishelp
 * w3svc/2/root/iisadmin



WORKAROUND
To work around this behavior, you can change the target value of the ASPEnableParentPaths property to FALSE by editing the properties of the Web site or by editing the metabase manually.

Edit the Setting on the Web Site Properties

 * 1) Click Start, click Programs, click Administrative Tools, and then click Internet Services Manager to open IIS Microsoft Management Console (MMC).
 * 2) Expand the server.

NOTE: Make sure that the view on the right pane is set to Normal.
 * 1) Right-click the selected Web site, and then click Properties.
 * 2) If the Web site you want to change is a root site, such as the default Web site, click the Home Directory tab.

NOTE: The child Web site Properties dialog box is the same as the Home Directory tab in the root Web properties.
 * 1) Click the Configuration button, click the App Options tab, and then click to clear the Enable Parent Paths check box.
 * 2) Click OK, and then click OK again to save the settings and to return to Internet Services Manager MMC.

Manually Edit the Setting By Using Adsutil.vbs to Modify the Metabase
WARNING: If you edit the metabase incorrectly, you can cause serious problems that may require you to reinstall any product that uses the metabase. Microsoft cannot guarantee that problems that result if you incorrectly edit the metabase can be solved. Edit the metabase at your own risk.

NOTE: Always back up the metabase before you edit it.

Adsutil.vbs is located in the C:\Inetpub\AdminScripts folder. To use Adsutil.vbs, use the following command-line syntax:

cscript.exe c:\inetpub\adminscripts\adsutil.vbs set  &quot;FALSE&quot;

In this command,  is one of the following paths, where   is the Web site number:
 * /w3svc/ /root/AspEnableParentPaths
 * /w3svc/ /root/iisadmin/AspEnableParentPaths
 * /w3svc/ /root/iishelp/AspEnableParentPaths



STATUS
This behavior is by design.

MORE INFORMATION
The AspEnableParentPaths property in the metabase specifies whether an Active Server Pages (ASP) page can allow paths relative to the current directory (using the &quot;...\&quot; notation). This may be a security risk. In a secure environment, set the AspEnableParentPaths property to FALSE.

