为什么当我通过IE6访问aspx(例如,
http://www.example.com/foo.aspx – 而不是真实的网站)将在IIS6中获得404错误(即,“无法找到该页面”)
我已经为网站启用了脚本,我试过可执行文件也启用。
这里是完整的错误:
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 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 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.
我可以得到到Default.htm在同一个目录,所以我知道的路径是正确的。我已经打开了每个人(暂时),所以我知道权限是正确的。
解决方法
这可能是很多事情。我今天遇到这个问题,因为.NET没有在安装IIS(aspnet_regiis -i -enable或等效)后重新初始化。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。