Host WCF in IIS8 (Windows Server 2012)

Hi all,

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.

Server Roles

  1. 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
  2. Second, check the IIS Hostable WebCore
  3. 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,

  1. Check all items in .NET 3.5
  2. Check WCF Service in .NET 4.5

That’s it.

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

27 thoughts on “Host WCF in IIS8 (Windows Server 2012)

  1. Pingback: WFC for System Center 2012 Application web catalog | NotebookNotebook

  2. I have tried what you suggested …..My wcf service is now working but the sharepoint 2013 services are stop working….Please suggest what to do now to work both the services

  3. Pingback: Technical: Microsoft – WCF/OData – Deploying Services to IIS | Daniel Adeniji's – Learning in the Open

  4. Thank you! It’s good people such as yourself who save the rest of us a collective millions of hours of pain and suffering.

  5. VMware Certified Advanced Professional 6 (Desktop and Mobility Deployment) – The industry-recognized VCAP6-DTM Deploy certification validates that you know how to deploy and optimize VMware Horizon 6 (with View) environments. It proves that you have the knowledge and skills required to leverage best practices to provide a scalable and dependable Business Mobility platform for your business. Some of the subjects involve: Configuring and managing Horizon View components, configuring cloud pod archituecture, configuring Group Policy settings related to Horizon View, Configuring and optimizing desktop images for Horizon View & Mirage, Configuring and managing App Volumes AppStacks, Configuring desktop pools, Configuring and deploying ThinApp packaged applications, Configuring VMWare Identity Manager, etc.Sebastian’s take on the VCAP6 examination: “In my personal point of view VCAP6 exam is much better experience compared to VCAP5, the newest exam appears to be exactly like VMware HOL. The interface is not difficult, questions are set up on the right area of the display, and can be hidden to the side or restored when desired. My advise on the questions window: should you decide to make it floating, you should know how to restore it back. I ended up moving it all around due to the fact I fail to remember how to restore it back. The two arrows that appeared to be control buttons on the top were used to dock the window to right or left. Fonts can be resized, which from my opinion was a lot better than scrolling up and down the question. The response speed of the entire user interface was so quicker than VCAP5.5, and there wasn’t any lagging time period experienced when moving over from window to window. One thing to keep in mind: BACKSPACE key is not working! I do believe this is good since you don’t reload your test window by accident, then again, it could be bothersome occasionally whenever you type something erroneously and you need to select and press Del to remove. The Desktop and shortcuts were organized perfectly, and all needed programs like web browser or Mirage console can be easily launched. You will find there’s nice user interface for Remote Desktop Manager and you’ll discover all necessary RDP connection to servers or desktops without having to type username and password. The web browser had all the links in the Favorite Bar. At the time I am writing this, there is no additional Thirty minute extension for Non-Native English speaker at No-Native English country, which is actually a bummer. You’ll find thirty-nine question to respond within the 3 hours time period, which can be actually really hard for non-native English speakers like me. Quite a few questions take time to complete, so it is preferable to ignore the questions that you cannot respond to, and finish those you can. By the end of the thirty-nine questions, you are able to go back to the uncompleted questions when you have time. Don’t waste too much time on one single question! The exam blue print are available on my website at It is well-organized and following it for the examination preparation can really help a lot. Obviously, the most suitable is if you’ll have plenty of hands on experience! I’m actually very happy with the exam experience, although I passed this time by tiny margin, but I understand what I missed for the examination, study from the errors and practice harder to get familiar myself with the environment. This accreditation will certainly open up your career prospects!”

  6. Pingback: iis-8 - Alternative pour l'Enregistrement ASP.NET 4.5 sur Windows Server 2012

  7. ‘System.ServiceModel.Activation.HttpHandler’ from assembly ‘System.ServiceModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089’ this error is occured when i migrate WCF Service from 2008R2 to New windows Server 2012R2


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s