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=188.8.131.52, Culture=neutral,
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:
The aspnet_regiis.exe file can be found in either
- %windir%Microsoft.NETFramework64v4.0.30319 (on a 64-bit machine)