Hexagon Geospatial
MENU

WebGIS Q&A

WebGIS enables powerful geospatial web applications and services that securely share your organization’s rich geospatial data, and provides tools to deeply examine spatial data and create value added products, on demand.
Showing results for 
Search instead for 
Do you mean 

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel'

by fmak on ‎06-09-2016 10:43 AM - edited on ‎04-13-2017 05:25 AM by Technical Evangelist (442 Views)

Symptoms

Getting the following error while launching the AdminConsole:

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, ......

Diagnosis

If IIS is enabled after .NET 4 installation then ASP.NET is not registered with IIS. Users will encounter the following error when the site being targeted is ASP.NET 4:

 

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

 

Solution

To resolve this issue, run the following from elevated command from a command prompt line to register ASP.NET 4:

 

aspnet_regiis.exe /iru

 

The aspnet_regiis.exe file can be found in either:

 

  • %windir%\Microsoft.NET\Framework\v4.0.30319
  • %windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)

 

Restart IIS using the command c:\iisreset /restart

 

Contributors