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

前端 未结 8 1576
不思量自难忘°
不思量自难忘° 2020-12-28 19:32

I am run aspnet_regiis.exe, still I am getting same error:

Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.Ser

8条回答
  •  爱一瞬间的悲伤
    2020-12-28 20:26

    Get to the applicationhost.config file in the following directory: C:\Windows\system32\inetsrv\config

    The following section will be defined:

    
    

    The above definition is incompatible with the .NET framework 4.0, you can get this issue resolved by replacing the above section by the following:

    
    

提交回复
热议问题