Could not load type 'System.ServiceModel.Activation.HttpModule'" is thrown when attempting to open EVS after an upgrade to EV

book

Article ID: 100034309

calendar_today

Updated On:

Description

Error Message

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Cause

This can be down to a problem within the ApplicationHost.Config file, for Windows Process Activation, found in the below location on the EV Server:-
%windir%\System32\Inetsrv\config

 

Resolution


1) Copy an ApplicationHost.Config file from a known good working EV Server on the same EV and .NET Version
2) Stop the Windows Process Activation Service on the non-working EV Server
3) Rename the non-working ApplicationHost.Config file to ApplicationHost.Config_old
4) Paste the good ApplicationHost.Config file to the non-working EV Server
5) Start the Windows Process Activation Service

If the above suggestion does not fix the issue for you then please contact Technical Support for further help

Issue/Introduction

After upgrading Enterprise Vault and attempting to open EV Search (EVS) the below error may be displayed:-
Could not load type 'System.ServiceModel.Activation.HttpModule'