"Directory Listing Denied" When Browsing a Web Site (185380)



The information in this article applies to:

  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Server 5.0

This article was previously published under Q185380
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:

SYMPTOMS

When attempting to browse a Web site, you may receive the following error message:
Directory Listing Denied

CAUSE

This problem can be caused by either of the following:
  • The Web site's home directory does not contain a default document file, such as Default.htm or Default.asp.
  • The Default Document option is not selected.

WORKAROUND

To work around this problem, perform the following steps:
  1. In the Internet Service Manager (ISM), right-click the Web site, and then click Properties on the shortcut menu.
  2. Click the Documents tab.
  3. Verify that your default file is in the list of default documents, and that the Enable Default Document check box is selected.

(c) Microsoft Corporation 2000, All Rights Reserved. Contributions by Kevin Zollman, Microsoft Corporation.


Modification Type:MinorLast Reviewed:6/23/2005
Keywords:kbpending kbprb KB185380