Casino installation failed to load type "System.ServiceModel from assembly "System.ServiceModel, Version=, Culture=neutral, problem solving

Yu confused 2022-11-13 06:23:48 阅读数:15


Failed to load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

According to the prompt analysis, it should be that the high version of .net framework was installed a few days ago, which caused this error. After checking some information on the Internet, the solution is as follows:

1. First, find the configuration file applicationHost.config, file path: %windir%/system32/inetsrv/config/

2. Open the file and find the ServiceModel configuration item

3. Add ",runtimeVersionv2.0" to managedHandler and save the file

4. Then, open the address C:\Windows\Microsoft.NET\Framework\v4.0.30319 on the command prompt CMD

Enter aspnet_regiis.exe -iru to register ASP.NET IIS

5. The problem is successfully resolved, and the website can be opened normally again

For more reference

版权声明:本文为[Yu confused]所创,转载请带上原文链接,感谢。