Search code examples
c#wcfiisiis-7.5

WCF service hosting in IIS 7.5 - The page you are requesting cannot be served because of the extension configuration


Whenever I publish WCF service to IIS. It is almost I have become habituated to get this error:

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

The practice I have maintained: is to change application pool for the website to classic mode. But this time I am out of luck.

  • Q.1. Can you please help?
  • Q.2. As the error suggests: Should I configure .svc MIME map some where in IIS?
  • Q.3. For WCF to operate in integrated pipeline mode, Is there any specific configuration required?

Solution

  • Try enabling HTTP Activation

    Go to Control Panel > Windows Features > .NET Framework 4.5 Advanced Services > WCF Services > HTTP Activation(tick this)

    Add Windows Features