404.17 Not Found. The requested content appears to be script and will not be served by the static file handler
The error may occur when you are trying to serve a file without extension.
It may happen, for example, when you need to verify SSL certificate and the verification file has no extension.
To work around the issue you need to map the files without extension to a known MIME type.
Create a web.config file in the folder (or any upper folder) with the file you want to serve and insert the following content.
<?xml version="1.0" encoding="UTF-8"?>
<mimeMap fileExtension="." mimeType="text/html" />
Modify the mimeType section as you wish.