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

 

 

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.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
这个错误通常是由于Eclipse与服务器之间的配置不正确导致的。以下是一些可能的解决方案: 1.检查项目的构建路径是否正确。在Eclipse中,右键单击项目,选择“构建路径”>“配置构建路径”,确保所有库和依赖项都正确配置。 2.检查服务器配置是否正确。在Eclipse中,选择“窗口”>“首选项”>“服务器”>“运行时环境”,确保服务器已正确配置。 3.检查项目是否正确部署到服务器上。在Eclipse中,右键单击项目,选择“运行”>“运行配置”,确保项目已正确配置并部署到服务器上。 4.尝试重新启动Eclipse和服务器。有时候,重新启动可以解决一些问题。 5.检查Eclipse和服务器的日志文件以获取更多信息。在Eclipse中,选择“窗口”>“显示视图”>“其他”>“服务器”>“服务器控制台”,查看服务器的日志文件以获取更多信息。 ```java // 代码示例 // 检查项目的构建路径是否正确 // 右键单击项目,选择“构建路径”>“配置构建路径”,确保所有库和依赖项都正确配置。 ``` ```java // 代码示例 // 检查服务器配置是否正确 // 在Eclipse中,选择“窗口”>“首选项”>“服务器”>“运行时环境”,确保服务器已正确配置。 ``` ```java // 代码示例 // 检查项目是否正确部署到服务器上 // 在Eclipse中,右键单击项目,选择“运行”>“运行配置”,确保项目已正确配置并部署到服务器上。 ```

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值