HTTP Error 404.3 – Not Found when browsing .svc .Net pages

I was migrating an IIS .NET 2.0 application from server 2008 to 2016 and ran into the below 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. Error code 0x80070032”

Based on the error it looks like IIS doesn’t know what to do with the .svc applications. I knew i had to add a mapping somewhere but found the below command that did the trick. The command works similar as
aspnet_regiis.exe -i to re-register .NET with IIS. Looks like the command re-registers and adds the missing MIME map for the .svc service. After running the below command you can see the .svc extension is added to the
applicationHost.config file.

Command to fix 404.3:

-Run command prompt as admin
cd “C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation”
-Once in the folder run the below command
ServiceModelReg.exe –i

Check the below file and you shoould see references to the .svc extension applicationHost.config. If you try to browse the page now the error should be gone.

This entry was posted in Microsoft. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *