Get the App
SLTechnology News&Howtos  ›  Network Security  › 

IIS: error handling

Shulou Source: shulou.com Published: 2022-06-01 01:38:41 10月04日 Update

Error prompt:

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

Reason:

The main reason is that I installed the version of. NET Framework3.5 after installing IIS in the environment of .NET Framework4.0, which caused the mismatch of the version of .NET Framework that IIS depends on and reported an error.

Solution:

You need to register for ASP.NET 4.0 here.

Just run the command in the command window: 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)

If the default system directory remains unchanged, it should be the following statement

C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_regiis.exe-iru

Tags: Cause command version error method environment directory system statement prompt run process Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information vpn Linux OPPO Reno