When you have installed ASP.NET on Windows Server 2003, you may receive the following 404 - Page Not Found error:
Please try the following:
Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back (1) button to try another link.
Technical Information (for support personnel)
Go to Microsoft Product Support Services (2) and perform a title search for the words HTTP and 404.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
This error is only thrown with dynamic ASPX pages; static HTML files, graphics etc are served just fine.
To fix this, follow these steps:
如果在 Web services extention 中 没有看到 ASP.NET v2.0.50727 ,则说明没有在IIS中注册asp.net 2.0
run ASP.NET IIS Registration Tool (Aspnet_regiis.exe)
1. Open up the Internet Information Services (IIS) Manager (which you find under Administrative Tools)
2. Expand your server
3. Select Web Service Extensions
4. In the right hand pane, click ASP.NET v2.0.50727 (or a later version number) and then click the Allow button.