Error: Could not load type 'System.ServiceModel.Activation.HttpModule' when accessing WebUI

Error: Could not load type 'System.ServiceModel.Activation.HttpModule' when accessing WebUI

107
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:11 PM


Symptom


Symptom:

Users accessing WebUI receive the following error:

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:

Problem with ASP.NET 4.0 installation.

Resolution:

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

aspnet_regiis.exe /iru

Aspnet_regiis.exe executable can be found in either:

  • %windir%\Microsoft.NET\Framework\v4.0.30319

or

  • %windir%\Microsoft.NET\Framework64\v4.0.30319 (64-bit OS)


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001anqCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail