Dear visitor, thanks for stopping by! If you want, you can follow all updates on Snowball.be via RSS. You can also follow me on Twitter or Facebook. More interesting posts from other Microsoft Regional Directors can be found at The Region.
Gill Cleeren     WCF     December 27, 2007    

One of my intentions of the new year is learning WCF. And yes, I've been doing some coding with it these last days.

I was now trying out to use a WCFService hosted in a website, so I wanted to access the svc file via http://localhost:905/Service.svc . However, IIS7 on my Vista machine returned 404.3 - Not found and the mime type not being configured correctly to be served.
I was thinking it to be something like a configuration exe that needed to be ran before it would work, similar to aspnet_regiis.exe. And indeed, it was: the following command solved my problem:

C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>Service
ModelReg.exe -i

What it did, it installed the necessary scriptmaps at the IIS metabase root and folders within.

  Posted on: Thursday, December 27, 2007 5:03:25 PM (Romance Standard Time, UTC+01:00)   |   Comments [6]
         
3/12/2010   4:53:01 PM