在asp.net错误中找不到该资源 [英] The resource cannot be found in asp.net error

查看:104
本文介绍了在asp.net错误中找不到该资源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< a href =Notifications / Notifications.aspx>通知< / a> 
工作正常

< a href =Papers.aspx> Papers< / a>此链接点击resouece无法找到...
错误看起来像
/onlineexamsworld/Notifications/Papers.aspx



plz help我

解决方案

可能出现这种情况的一个原因是,如果您没有在Web项目的属性下设置起始页面。这样做:



右键单击您的项目

选择属性

选择Web选项卡

选择特定页面





现在,如果您启动Web应用程序,它将是执行

<a href="Notifications/Notifications.aspx">Notifications</a>
working fine
but 
<a href="Papers.aspx">Papers</a> this link click on the resouece can't be found...
error look like
/onlineexamsworld/Notifications/Papers.aspx


plz help me

解决方案

One reason this could occur is if you don't have a start page set under your web project's properties. So do this:

Right click on your project
Choose "Properties"
Select the "Web" tab
Select "Specific Page"


Now, if you launch your web application,it will be executed


这篇关于在asp.net错误中找不到该资源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆