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

前端 未结 14 574
挽巷
挽巷 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:37

    Details

    http://msdn.microsoft.com/en-us/library/hh169179(v=nav.71).aspx

    "This error can occur when there are multiple versions of the .NET Framework on the computer that is running IIS..."

    0 讨论(0)
  • 2020-12-04 08:39

    I have Windows 8 installed on my machine, and the aspnet_regiis.exe tool did not worked for me either.

    The solution that worked for me is posted on this link, on the answer by Neha: System.ServiceModel.Activation.HttpModule error

    Everywhere the problem to this solution was mentioned as re-registering aspNet by using aspnet_regiis.exe. But this did not work for me.

    Though this is a valid solution (as explained beautifully here)

    but it did not work with Windows 8.

    For Windows 8 you need to Windows features and enable everything under ".Net Framework 3.5" and ".Net Framework 4.5 Advanced Services".

    Thanks Neha

    0 讨论(0)
提交回复
热议问题