SymptomWhen requesting dynamic content such as an ASP or ASP.NET page on a Microsoft Windows Server 2003 server that is running Internet Information Services (IIS) 6.0, the following error message are displayed:
"HTTP Error 404 - File or directory not found."
CauseBy default, IIS disables dynamic content on any version of the Windows Server 2003 family for security reasons.
Resolution1. Open IIS Manager, expand the master server node, and then select the Web Service Extensions node.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnf7A7EM7HrCJtd0emwLs1hJ9noU_Fa1xoRZXIQPt0N1dC16yDb1MujKEpCGoMv1w6vs_cc6JiNEldVaI6JTAMDrE-C5bk2tMVEUGHL3_r5ymmnUz1wFf577bJ3Vox2PO-dvqNzVrZIt6o/s320/HTTP_Error_404_File_or_Directory_not_found_02.gif)
2. Check whether the extension of the dynamic content is listed in the Web Service Extension list.
3. If it is listed, then check the status. If the current status is Prohibited, click the Allow button.
4. If it is not listed, you need to create a new extension. In the right pane of the IIS Manager, click Add a new Web service extension under Tasks. In the Extension name box, type a name for the extension that you want to add.
In the Required files box, click Add, and then select the path and the name of the file that will handle requests for the specific extension. After you select the path and the file name, click OK.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9ThZmRWpPDEHYwTCcTo8Grg7Q2phP3atAvSS2RqBfwiQqTA3r7qCsp13y-qe4Uar7Z7juWzssKZvXMBU1kdrZNHFHuyVyldP7te_QQcdK1w329N8NtTMnkQG9ti-MzgAByfqzwfFHv3l1/s320/HTTP_Error_404_File_or_Directory_not_found_03.gif)
Click to select the Set extension status to Allowed check box.
Click OK to save your changes.