I am getting a 404.7 error while browsing .svc file in IIS 8.5 (Error message: Not Found The request filtering module is configured to deny the file extension)
I am able to resolve it by adding this code in web.config file:
<system.webServer>
    <security>
      <requestFiltering>
        <fileExtensions allowUnlisted="true">
          <remove fileExtension="." />
             <add fileExtension="." allowed="true" />
        </fileExtensions>
      </requestFiltering>
    </security>
  </system.webServer>
But I am unable to figure out why this error is being thrown in the first place.
I have verified:
1) Request filtering is turned on 2) .svc file is NOT in the list of denied extensions 3) "Allow unlisted file name extensions" is checked in IIS.
With these settings, shouldn't I be able to browse the .svc file without having to add the above code in web.config file? What else am I missing?
 
     
    
