2012-03-26

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?

Show more