Error message when you try to visit a Web site that is hosted on IIS 7.0: "HTTP Error 404.9 – File Attribute Hidden"


Symptoms


When you try to visit a Web site that is hosted on Internet Information Services (IIS) 7.0, you may receive an error message that resembles the following:
Server Error in Application "<application name>"
--------------------------------------------------------------------------------
HTTP Error 404.9 – File Attribute Hidden
HRESULT: 0x80070002
Description of HRESULT # The system cannot find the file specified.

Cause


This problem occurs because the requested file is hidden.

Resolution


To resolve this problem, follow these steps:
  1. In Microsoft Windows Explorer, open the content folder.
  2. Locate the file for the Web site that you want to visit.
  3. Right-click the file, and then click Properties.
  4. On the General tab, click to clear the Hidden check box, and then click OK.