Skip to main content

HTTP Error 404.17 - Not Found The requested content appears to be script and will not be served by the static file handler.

Server: Windows Server 2012

IIS: Version 8.0.9200.16384

Issue:

Trying to browse a WCF service which is running in Application Pool 4.0 Classic.

Resolution:

The error occurs if correct version of .net is not mapped with the *.svc extension in the IIS Handler Mappings.

Ensure the right version of .net is mapped with the *.svc extension.

Click on the Web Site and click on Handler Mappings:

Add the following maps if missing

image

image

image

image

Try to restart IIS and then browse the service.  The above steps helped me to resolve the issue.

Comments