The page cannot be found

 

          When you have installed ASP.NET on Windows Server 2003, you may receive the following 404 - Page Not Found error:

The page cannot be found
    The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

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.

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

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

The page cannot be found_第1张图片

 

 

run    ASP.NET IIS Registration Tool (Aspnet_regiis.exe)

The page cannot be found_第2张图片

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.

The page cannot be found_第3张图片

你可能感兴趣的:(Web,开发)