If you are having trouble getting your WCF service running on winxp and eveything seems like it “should” work but doesnt!! It seems like the service is just not getting recognized. Try these tips and see if they help. Im assuming ASP.NET version 2 installed and configured aswell as .NET3.0 & 3.5 and VS2005 as IDE.
First check to see if you have a mapping for the “.svc” extension in IIS.
- Goto IIS->Properties(Of the service)-> Virtual Directory->Coniguration->Mappings
- Look for the .svc in the mappings
- If its not there add it.
- Executable: (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll)
- Extension: .svc
- Verbs: All verbs -> Click OK
- aspnet_regiis -ua
- aspnet_regiis -i
Now try agian in the browser after Publishing! It should work..
For Vista and VS2008
Its allot easier.. Just goto Control Panel->Program and features->Turn Windows Features On and Off->Microsoft .Net Framwork 3.0 and then tick all the WCF boxes and install the components.. it should work a treat..