The page cannot be found

本文介绍了解决在Windows Server 2003上安装ASP.NET后出现的404-页面未找到错误的方法。该错误通常发生在动态ASPX页面上,而静态HTML文件不受影响。文章提供了详细的步骤来修复此问题,包括使用ASP.NET IIS注册工具(Aspnet_regiis.exe)确保ASP.NET v2.0.50727已在IIS中正确注册。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

          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

 

 

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.

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值