When hosting WCF services in IIS, you might encounter the HTTP Error 404.3 - Not Found error. This usually indicates that the WCF components are not properly registered with IIS.
Solution
To fix this error, you need to register WCF with IIS by running the following command:
cmd
%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i
For 64-bit systems:
cmd
%windir%\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\ServiceModelReg.exe -i
Additional Steps
Ensure ASP.NET is registered with IIS
Enable HTTP Activation feature in Windows Features
Check that the .svc extension is mapped correctly
IIS Configuration
Make sure the following handlers are present in IIS:
*.svc mapped to System.ServiceModel.Activation.HttpHandler
Enable Windows Communication Foundation HTTP Activation