1. Home
  2. Scripting
  3. Fixing a 404 error on a .SVC file WCF service

Fixing a 404 error on a .SVC file WCF service

What to do

Add the following in the <system.webServer> section.

<handlers>
<add name=".svc" verb="*" path="*.svc" type="System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>

The .svc WAF service should now work correctly.

Click here for full details

Classification: Public
Last saved: 2019/08/14 at 15:19 by Jamie

How can we help?