asp.net – 为什么aspx文件返回404(“无法找到该页面”)
发布时间:2020-12-15 19:28:58 所属栏目:asp.Net 来源:网络整理
导读:为什么当我通过IE6访问aspx(例如, http://www.example.com/foo.aspx – 而不是真实的网站)将在IIS6中获得404错误(即,“无法找到该页面”) 我已经为网站启用了脚本,我试过可执行文件也启用。 这里是完整的错误: The page cannot be foundThe page you are
为什么当我通过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或等效)后重新初始化。
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- asp.net-mvc – 使用Web API不检查的并发检查
- ASP.NET MVC 反射例子
- asp.net-mvc – ASP.Net MVC的LoginStatus?
- ASP.NET选项卡控件
- asp.net – 在SAAS体系结构中,如何处理多租户的数据库模式和
- asp.net-mvc – ASP.NET MVC,图层,模型,存储库等
- 如何在使用ASP.NET MVC的jQuery AJAX调用中触发“错误”回调
- asp.net-mvc – 如何在ASP.NET MVC中测试动作过滤器?
- ASP.NET MVC如何在一个同步方法(非async)方法中等待async
- 检测asp.net webform中的移动版本 – c#
推荐文章
站长推荐
- 将List <>绑定到asp.net中的listview#
- asp.net – 401向web api发送ajax请求时未经授权
- asp.net-mvc – 在我的asp.net MVC解决方案中保持
- asp.net-mvc-3 – 尝试检索不存在的列的实体框架
- 字符串拆分ASP.NET / C#
- asp.net-mvc – 从nopCommerce插件扩展Razor Par
- asp.net – 如何调试w3wp clr.dll错误
- asp.net – 可以从没有这些.svn文件夹的subversi
- asp.net – 使用jquery调用webmethod时始终获得“
- 我的Asp.Net MVC 3站点中的奇怪错误
热点阅读