C:\Windows\Microsoft.NET\Framework\v2.0.50727\
aspnet_regiis -i
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication
ServiceModelReg -i
Under Internet Information Service (IIS) Manager, open the node called Web Service Extension. Make sure that ASP.NET v2.0.5.0727 is set to Allowed.
Running a 64-bit version of Windows Server, configure VS to „x86“ instead of „Any CPU“.