Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel

前端 未结 14 614
挽巷
挽巷 2020-12-04 07:37

I\'m running my Web Project in IIS.

It is a 4.0 Framework APP.

I have a Service.svc and I get this error when I run my Application.

\"

14条回答
  •  渐次进展
    2020-12-04 08:12

    From the Server Manager's Features node, you can also remove some of the sub-items under the .NET Framework 3.5.1 Features that are installed by the activation of some of the other roles.

    For instance, removed the WCF Activation Features as follows and our websites came back:

    • [x] .NET Framework 3.5.1 Features
      • [x] .NET Framework 3.5.1
      • [ ] WCF Activation
        • [ ] HTTP Activation
        • [ ] Non-HTTP Activation

    Note: this did not require a restart for us.

提交回复
热议问题