Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

IIS: error handling

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report