HTTP 404 when accessing .svc file in IIS
Solution 1:
What worked for me, On Windows 2012 Server R2:
Thanks goes to "Aaron D"
Solution 2:
You need to add a mapping for the SVC extension to ASP.NET. The easiest way to do this is to run ServiceModelReg.exe -i
from C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation. You may also need to enable ASP.NET if you haven't already done so.
If you are using Windows Server 2012 or 2016, follow these instructions instead:
- WCF on IIS8; *.svc handler mapping doesn't work