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

前端 未结 8 1562
不思量自难忘°
不思量自难忘° 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条回答
  •  萌比男神i
    2020-12-28 20:16

    It seems like the ASP.NET 4.0 is not properly registered with IIS. Could you please try re-registering asp.net with IIS ? You could try for both 2.0 and 4.0 just to make sure it is done for all the .NET versions.

    Use the following commands for both version of asp.net to register asp.net with IIS

    aspnet_regiis -i

    This is located in both .NET framework version folders.

    C:\Windows\Microsoft.NET\Framework\v4.0.30319 and C:\Windows\Microsoft.NET\Framework\v2.0.50727

提交回复
热议问题