Symptoms

When you attempt to install or remove the Active Directory Rights Management Services (AD RMS) server role from a computer running Microsoft Windows Server 2008 or Windows Server 2008 R2, the Results page of the Roles wizard shows that the installation/removal failed. The error message begins, "Attempt to perform custom actions before installing/un-installing Active Directory Rights Management Server failed. Index was out of range."

Cause

AD RMS cannot be installed or removed from a computer if any of the existing Web sites is not bound to the HTTP protocol.

Resolution

Bind the all of Web sites to the HTTP protocol and then retry installing or removing the AD RMS server role.

To bind the AD RMS Web site to the HTTP protocol

  1. Open the Internet Information Services (IIS) Manager console and expand the server that is hosting AD RMS.

  2. In the connections tree in the results pane, expand Sites, and then right-click the Web site on which you have bound only to SSL. If there is any, that can cause trouble.

  3. Click Edit bindings.

  4. In the Site Bindings dialog box, click Add, in the Type list select HTTP, and then click Close.