Can't serve files without extension because they "appear to be script" on IIS7.5
- by madd0
I created a certain number of static JSON files with no extension in a subfolder of my site. I want to use them for tests.
The problem is that IIS is refusing to serve them because :
HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.
The folder is a subfolder of an ASP.NET application and I can't create an application just for it, neither can I change the parent application's application pool. Actually, I don't have access to the IIS configuration other than through the web.config file in the folder in question.
I assume there must be a way to get a web server to serve static files, right?