https://www.codeproject.com/Articles/613812/Solve-IIS-Error-Could-not-load-type-System-Servi
未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”。
The final solution was to delete the 3.x module and handler from IIS manager. You could delete them at the application or site level if you want to keep them in applicationHost.config
. But I wanted to delete them from applicationHost.config
. So I did the following steps:
- In IIS manager, click the machine name node.
- In “Features View”, double-click “Modules”.
- Find “
ServiceModel
” and remove it. - Go back to the machin