WCF on IIS7 on Vista - Adding .svc Handler - Guy Burstein's Blog

Guy Burstein's Blog

All about the newest tools and technologies from Microsoft

News

Guy Burstein
Work:
Microsoft Israel, 2 Hapnina st', Raanana
Israel
Email:
Or, use this form.
Guy Burstein The Bu

Disclaimer
Postings are provided 'As Is' with no warranties and confer no rights.

Guy Burstein LinkedIn Profile

TwitterCounter for @bursteg

The Bu

Links

Articles

Blogs I Read

WCF on IIS7 on Vista - Adding .svc Handler

WCF on IIS7 on Vista - Adding .svc Handler

WCF on IIS7 on Vista - Adding .svc HandlerI’ve just formatted and reinstalled my computer yesterday. When I started to build a WCF Service on IIS 7 on my Vista machine, I got the following message:

Server Error in Application “Default Web Site/...”
HTTP Error 404.3 - Not Found

The page you are requesting cannot be served because of the extension of the configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

This is what I did to have it work:

  1. Start the command window (cmd) as an Administrator.
  2. Navigate to:
    C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\

    In case you are running on a 64Bit machine, than navigate to:
  3. C:\windows\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation\

  4. Run the following command: ServiceModelReg –i

After some messages on the console window…

WCF on IIS7 on Vista - Adding .svc Handler

your service should now work.

Enjoy!

Comments

No Comments