Intellect Connect

The Server Experts at your Service

Error Message: ‘Directory Listing Denied’

When a default page inside of a web directory is not set, not present or custom named, this error message will be returned: ‘Directory Listing Denied. The Virtual Directory does not allow its contents to be listed.’ This article will walk you through ensuring that a default page is set correctly.

Step 1

Open IIS by navigating to Start -> Administrative Tools -> Internet Information Services (IIS) Manager.

kb-GLOBAL_ACCESS-IIS

Step 2

Click the plus-sign next to the Computer name, then the plus sign next to Web Sites. Locate the web site directory you are attempting to set a default page for, right-click on the web folder in question, and choose Properties.

kb-directory-listing-denied-1

Step 3

Once inside the Properties dialog box, click the tab which says Documents. Ensure that the option for Enable Default Content Page is checked. Check to see if the index or default page you are trying to access is listed in the field below. If it is not, click the Add button.

kb-directory-listing-denied-2

Step 4

Type the name of the index page you would like the site to display. For the purposes of this article, we will name it ‘index2.html’. Once named, click OK.

kb-directory-listing-denied-3

Step 5

Set the directory to search for the specified index page before any others by highlighting it in the list, and clicking the Move Up button until it is at the top. Once finished, click OK.

kb-directory-listing-denied-5

The web folder will now display your specified index page.

footer-logos