window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-108815698-1');

Could not load type System.ServiceModel.Activation.HttpModule

By |2017-12-11T16:04:42+00:00July 27th, 2012|Azure, Cloud|0 Comments

Hi,

While rebuilding a customers PKI environment we had a problem with one of the Web enrolment servers that I had rebuilt. It was coming up with the following error when you went to Http://localhost/certsrv :

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.

This can be a problem if .Net framework 4.0 has been installed and then .Net 3.0 or 3.5 is enabled.

To resolve this issue, run the following from command line:

aspnet_regiis.exe /iru

The aspnet_regiis.exe file can be found in either

  • %windir%Microsoft.NETFrameworkv4.0.30319
  • %windir%Microsoft.NETFramework64v4.0.30319 (on a 64-bit machine)

Regards,

Rich

 

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.
I consent to this website use of cookies and third party services. Accept