Search code examples
c#visual-studio-2008iis-7wcfhttp-status-code-404

How to solve a "HTTP Error 404.3 - Not Found" error?


Simple problem. I start up VS2008 and create a new WCF Service application. This will create a default application with a few test methods showing it works. I press CTRL+F5 and it does indeed work! Great! However, it uses the Visual Studio Development server, which I don't want to support.

So I go to the project properties, switch to using a local IIS Web server, create the virtual directory and press CTRL+F5 again. And this "HTTP Error 404.3 - Not Found" error is greeting me back.

So something in my IIS7/Vista-64 setup is wrong. What could I be missing?


Solution

  • Click Start -> Run cmd and type:

    cd "\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation"
    ServiceModelReg.exe -i