HTTP 404 when accessing .svc file in IIS

Attilah picture Attilah · Apr 9, 2010 · Viewed 118.5k times · Source

I recently created a WCF service that works fine when tested from Visual Studio 2008. but when I deploy the project to IIS and I try to access the .svc file from IIS, I get this error :

"Server Error in '/' Application.The resource cannot be found.  "

I've been having this issue for the past 4 days .

in the Handler Mappings of IIS Manager, I can see two entries for .svc :

svc-Integrated and svc-ISAPI-2.0

Answer

Stefan Michev picture Stefan Michev · Aug 25, 2015

What worked for me, On Windows 2012 Server R2:

WCF HTTP 404

Thanks goes to "Aaron D"