Skip to main content
/_layouts/images/titlegraphic.gif

Peter Himschoot's Windows Foundation Trilogy

Go Search
Peter Himschoot's Windows Foundation Trilogy
U2U Website
  

Talking about .NET, Windows Presentation Foundation, Workflow Foundation and Communication Foundation

Peter Himschoot's Windows Foundation Trilogy > Posts > Hosting a WCF service in IIS7
Hosting a WCF service in IIS7

Today I'm on the quest of hosting a WCF service in IIS7. After enabling ASP.NET 2.0 in IIS7 normal (old-fashioned) services work ok, but .svc services won't work.

Solution: you have to run servicemodelreg -i as an administrator (you can find it in <WINDOWSDRIVE>:\Windows\WinFx\v3.0\Windows Communication Foundation).

Then WCF loads your service.

Comments

what about v3.5

Even though this works for me, but I am curious that why isn't there servicemodelreg in V3.5.
at 23/12/2007 9:59

Re: Hosting a WCF service in IIS7

dsaf
at 4/03/2009 18:18

Add Comment

Title


Body *


Attachments
Captcha

Enter the code shown above: *

(Note: If you cannot read the numbers in the above
image, reload the page to generate a new one.)