I think most of you coming to this post are having headache about hosting WCF Service in IIS 8 in Server 2012.
I come across this when I am testing it.
Here is the solution.
First make sure you have enabled IIS function and .net 3.5 in Features.For the IIS features, please remember to enable ASP.NET3.5 and ASP.NET 4.5
- Second, check the IIS Hostable WebCore
Finally, I think the most important is this:
Check Application Sever->Web Server (IIS) Support
I have also check the HTTP Activation in Windows Process Activation Service Support, but I do not know if it is required.
For the freatures,
- Check all items in .NET 3.5
- Check WCF Service in .NET 4.5
Last but not least, I have register the WCF Service from
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –i
Run the above in command line.
And hope it could help youJ