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

前端 未结 8 1611
不思量自难忘°
不思量自难忘° 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:33

    On Windows 2012, the following worked :

    For a reason I don't know the default application pool was set up to use 4.0 :

    Application Pool Properties

    but it was not correctly reflected in c:\windows\system32\inetesrv\config\applicationhost.config :

    
    

    I had to set it back to 2.0 and then to 4.0 again, and then the config file was fine and the error disapeared :

    
    

提交回复
热议问题