HTTP Error 500.21 - Internal Server Error when browsing package Virtual Directories in IIS
search cancel

HTTP Error 500.21 - Internal Server Error when browsing package Virtual Directories in IIS

book

Article ID: 451992

calendar_today

Updated On:

Products

Client Management Suite IT Management Suite

Issue/Introduction

Browsing to any package via HTTP or HTTPS in IIS results in HTTP Error 500.21 - Internal Server Error. The detailed error indicates: Handler "StaticFile" has a bad module "DirectoryListingModule" in its module list.

Environment

ITMS 8.x

Cause

The Directory Browsing module/role service is missing from the Web Server (IIS) role.

Resolution

Although missing this module does not prevent endpoints from downloading packages, installing it is recommended for troubleshooting virtual directory access over HTTP or HTTPS.

Steps to resolve:

  1. Open Server Manager on the Notification Server / IIS host.

  2. Click Manage > Add Roles and Features.

  3. Navigate through the wizard to Server Roles.

  4. Expand Web Server (IIS) > Web Server > Common HTTP Features.

  5. Check the box for Directory Browsing.

  6. Complete the wizard to finish installing the feature.