Microsoft KB Archive/170044
Article ID: 170044
Article Last Modified on 6/23/2005
- Microsoft Internet Information Server 3.0
- Microsoft Active Server Pages 1.0
This article was previously published under Q170044
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
After you install Active Server Pages (ASP) and try to run one of the sample pages using Anonymous Authentication, you will get following error message:
NOTE: This error is a permission issue and can be returned under other circumstances. Any time a secured page or directory is accessed and the only authentication method enabled under Internet Service Manager is Anonymous, the above error message will be returned to the browser.
- Go to the WWW Service properties and disable Anonymous Access.
- Enable Basic Authentication only.
- Try to select one of the sample ASPs with the browser.
- When you are presented with the credentials dialogue box, log in using a valid administrator's account.
- If the page loads sucessfully, you have a permissions problem.
To correct this problem, grant your Anonymous User (IUSR_machine-name by default), the following permissions to the following directories:
NOTE: When you apply these permissions, only apply them to all existing files unless otherwise noted.
- Grant IUSR Read permission to the root directory of the drive that ASP is installed on.
- Grant IUSR Write permission to the Microsoft Windows NT Server directory.
- Grant IUSR Read permission to the System32 directory.
- Grant IUSR Read & Execute permission to the System directory.
- Grant IUSR Read & Execute permission to the Inetserv directory.
- Grant IUSR Read permission to the InetPub directory. (By default, the next two directories are located in Program Files, Common Files, System.)
- Grant IUSR Read permission to the OLE DB directory.
- Grant IUSR Read permission to the ADO directory.
After you apply the above permissions:
- Change the authentication method in Internet Services Manager to disallow Basic Authentication and enable Anonymous Access.
- Close and restart your browser in order to refresh its cache.
- Try to run a sample ASP with the browser.
Additional query words: iis
Keywords: kberrmsg kbprb KB170044