Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a text file that I am trying to browse to using the browser and I get a:

HTTP Error 404.0 - Not found

I double checked and the text file does exist. When I add a test.htm file, I have no issues.

Can someone help?

share|improve this question
up vote 0 down vote accepted

Couple quick ideas:

Ensure "txt" is a known/allowed MIME type (text/plain) in IIS - if it's not that will give you a 404.

Ensure the IUSRS account has read access to the file (although that should give you a 401 if not set).

share|improve this answer

You can try to add a http handler for"*.txt" extension on IIS 7.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.