I was writing a Remote Event Receiver and when trying to access, the exception “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” Occurred. Thought of sharing the solution to the community.
1. Go to Server Manager.
2. Click on Manage -> Add Roles and Features.
3. On the Features, make sure that all the features under WCF is selected and install.
4. Do an IISReset.
5. Refresh the Service.
Now, the service will be working as expected. Thanks.