Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly


Cognos Controller 10.3

Microsoft Windows 2008 R2 server

Oracle 12c database


Error when you try to start Cognos controller client for the first time to new Cognos Controller server.

If you try to surf to this http://controllerservername/ibmcognos/controllerserver/ccrws.asmx

You also get an error message like;

Server Error in ‘/ibmcognos/controllerserver’ application

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly…..


Error message in Controller Client details:

Client found response content type of ‘text/html; charset=utf-8’, but expected ‘text/xml’.

The request failed with the error message:

<!DOCTYPE html>



<title>Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089’.</title>

<meta name=”viewport” content=”width=device-width” />


body {font-family:”Verdana”;font-weight:normal;font-size: .7em;color:black;}

p {font-family:”Verdana”;font-weight:normal;color:black;margin-top: -5px}

b {font-family:”Verdana”;font-weight:bold;color:black;margin-top: -5px}

H1 { font-family:”Verdana”;font-weight:normal;font-size:18pt;color:red }

H2 { font-family:”Verdana”;font-weight:normal;font-size:14pt;color:maroon }

pre {font-family:”Consolas”,”Lucida Console”,Monospace;font-size:11pt;margin:0;padding:0.5em;line-height:14pt}

.marker {font-weight: bold; color: black;text-decoration: none;}

.version {color: gray;}


You need to register the ASPNET with IIS on the Microsoft Windows server.

Start a CMD prompt as an administrator on the Controller servers.

  1. In a command window, go to the c:/Windows/Microsoft.NET/Framework64/v4.0.30319/ directory.
  2. Enter the following command:

aspnet_regiis.exe /i

Repeat on all Cognos Controller servers, and for Cognos Controller 10.2 and 10.3 you need to use NET framework 4.5.6 that is in folder /Framework64/v4.0.30319/.

This is the response you should get from the command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis /i

Microsoft (R) ASP.NET RegIIS version 4.0.30319.0

Administration utility to install and uninstall ASP.NET on the local machine.

Copyright (C) Microsoft Corporation.  All rights reserved.

Start installing ASP.NET (4.0.30319.0).


Finished installing ASP.NET (4.0.30319.0).

More information: