Check the properties of the ApplicationIcon.png in Visual Studio.
The build action needs to be Content.
If you by chance exclude the icon file from the project and then re add it, the build actions gets set to “Resource”. Revert it to “Content” and things should be fine.
Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089’.
As per MSDN blogs this error can occur when IIS is installed after installing .NET Framework 4, or if the 3.0 version of the WCF Http Activation module is installed after installing IIS and .NET Framework 4.
I did install v3.0 of WCF Http Activation module after installing IIS and .Net Framework 4.0
To resolve this problem, I used the ASP.NET IIS Registration Tool (aspnet_regiis.exe,) to register the correct version of ASP.NET by using the –iru parameters as follows: