404 asp.net找不到文件或目录.您正在寻找的资源可能已被删除,名称已更改或暂时不可用. [英] 404 asp.net File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

查看:2251
本文介绍了404 asp.net找不到文件或目录.您正在寻找的资源可能已被删除,名称已更改或暂时不可用.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 任何人都请帮忙.哪种类型的错误.
在服务器上发布并部署后.我得到这个错误.

404 asp.net找不到文件或目录.您正在寻找的资源可能已被删除,名称已更改或暂时不可用.

感谢

Hi anybody please help. which type of error.
after published & deployed on server. i get this error.

404 asp.net File or directory not found.The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Thanks

推荐答案

当您没有为页面定义正确的URL时,会发生这种类型的错误.检查您页面中的所有网址.
始终为您的页面提供完整的路径URL,这样就不会发生这种问题.
例如:
This type of error occurs when you don''t define proper url for your page. Check all url in you page.
Always provide full path url for your page then this type of problem will not occur.
eg:
<a href="http://www.yoursite.com/Secure_Page/default.aspx">Home</a>
<a href="http://www.yoursite.com/Product.aspx">Product</a>



请参阅:从一页导航到另一页 [ ^ ]
希望对您有帮助.

祝你好运.



Refer: Navigating from one page to another page[^]
I hope it will help you.

Good luck.


由于这些原因之一,人们期待着
1.您需要设置启动页面
2.检查您是否具有索引页
because of one of these reasons am expecting
1. you need to set the startup page
2. check whether you have index page or not


这篇关于404 asp.net找不到文件或目录.您正在寻找的资源可能已被删除,名称已更改或暂时不可用.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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