Setting File Attributes on Web Content Causes 404 - File Not Found Error

Article translations Article translations
Article ID: 221553 - View products that this article applies to.
This article was previously published under Q221553
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 7.0 running on Microsoft Windows Server 2008. IIS 7.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
For more information about IIS 7.0, visit the following Microsoft Web site:
Expand all | Collapse all


When you set the folder attributes to Hidden on a directory that resides in a Web folder, the following error message may occur:
404 - File Not Found
For example:

  1. Set the folder attributes to Hidden on the WWWroot directory (provided you are still using the default directory).
  2. Browse to the directory using your browser.
  3. You should receive a 404 - File Not Found error.
  4. Set the folder attribute back to its normal state (non-hidden).
    You should now be able to browse to this site.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


Article ID: 221553 - Last Review: July 7, 2008 - Revision: 4.1
  • Microsoft Internet Information Server 2.0
  • Microsoft Internet Information Server 3.0
  • Microsoft Internet Information Server 4.0
  • Microsoft Internet Information Services 5.0
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 7.0
kbhttp404 kbpending kbprb kbprod2web KB221553

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from