So I ran into an issue I have run into now twice so in case there is a third time, I can refer back to this entry! If after installing the Application Web Catalog web site and web service in CM 2012, you receive this when browsing to the site:
Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=22.214.171.124, 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=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089′.
Try running this:
The aspnet_regiis.exe file can be found in either
- %windir%\Microsoft.NET\Framework64\v4.0.30319 (on a 64-bit machine)
…a customer I was working with re-stumbled upon this for me as we were getting his lab installation working. Apparently this has to do with the order in which you add the IIS components – specifically, if you enable the WCF services AFTER you install .NET framework, this can occur. Also credit this web site for pointing this out: http://devonenote.com/2010/06/could-not-load-type-system-servicemodel-activation-httpmodule/.