Friday 30 January 2009

Installing WCF on IIS6

I have finally reinstalled WHS (Windows Home Server), now the tricky bits: Getting WCF and MVC working correctly.

Getting WCF Working

  1. Install the latest .Net framework (3.5 SP1 in this case)
  2. Launch a Command Prompt with full privileges

Right click on the command prompt short cut in the start menustartmenu-1

startmenu-2

Uncheck 'Run this program with restricted access'dialogue

  1. Go to 'C:\Windows\Microsoft.NET\Framework\v2.0.50727'
  2. Run aspnet_regiis -i
  3. Add a new web-site in IIS, check to see if the .svc extension is now available

iis-1 dialogue-2

  1. The .svc extension is now appearing, if your WCF service is in a web-site that already exists (Default web-site etc) then just copy and paste the .svc information into the properties of your website.  Otherwise when you create your new site it should be working.

3 comments:

Anonymous said...

Thank you thank you thank you thank you!!!!!!

Anonymous said...

Thank you!

Anonymous said...

Thank you!