I am run aspnet_regiis.exe, still I am getting same error:
Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.Ser
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