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?
Try enabling HTTP Activation
Go to Control Panel > Windows Features > .NET Framework 4.5 Advanced Services > WCF Services > HTTP Activation(tick this)
For me I simply needed to add the specific mimetype to the IIS website I was running
Ref: https://docs.microsoft.com/en-us/iis/configuration/system.webserver/staticcontent/mimemap
Open up IIS Manager
In the Connections pane, go to the site, application, or directory for which you want to add a MIME type.
In the Home pane, double-click MIME Types.
In the MIME Types pane, click Add... in the Actions pane.
In the Add MIME Type dialog box, add the file name extension and MIME type, and then click OK.