Enabling WCF Services on IIS 7.0

by ebarcza 9/2/2011 1:05:00 PM
Out of the box, IIS 7.0 (Windows Server 2008) does not support WCF Services. If you navigate via browser to the svc file you will get a 404 error. I check for the availability of the service by opening a browser and navigating to the service (.svc) page. On IIS 6.0, this just worked if I had the .NET 3.5 framework installed. On IIS 7.0, even after installing the the .NET 3.5 framework, we were still unable to reference the service and getting an error (404.3 to be precise). The trick to make this work requires registering a all of the service handlers. Fortunately, it can be done by running a simple script Open a command prompt and run the following: %windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe –r –y Now you should be able to navigate to the .svc page.

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  November 2020  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2020

Sign in