A "Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel..." Error Occurs When Loading the Laserfiche Forms Configuration Page.

March 3, 2014 | KB: 1013445
Laserfiche Forms 9

Summary

When loading the Laserfiche Forms site, you may receive the following error page:

    Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'

Cause

This issue can occur if the ASP.NET mappings are not properly registered in IIS.

Resolution

Prior to Windows 8 and Windows Server 2012, use the ASP.NET IIS Registration Tool (aspnet_regiis.exe) to recreate the necessary script maps in IIS.

  1. Open an elevated command prompt.
  2. Browse to C:\Windows\Microsoft.NET\Framework\v4.0.30319.
  3. Run the following command:

    aspnet_regiis.exe -iru

In Windows 8 and Windows Server 2012 or later, use the Windows Turn Windows Features On window or the Add Roles and Features Wizard to enable ASP.NET 4.5.

Windows 8

  1. Use Windows Programs and Features and load the Turn Windows Features On/Off option.
  2. Expand Internet Information Services.
  3. Expand World Wide Web Services.
  4. Expand Application Development Features.
  5. Select ASP.NET 4.5.

Windows Server 2012

  1. In the Server Manager, click Add roles and features to load the Add Roles and Features Wizard.
  2. In Server Roles, under Web Server (IIS), select Web Server, select Application Development, and ASP.NET 4.5.