我怎么解决这个问题? [英] How i solve this problem ?

查看:68
本文介绍了我怎么解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

'/'应用程序中的服务器错误。



无法找到资源。



描述:HTTP 404.您要查找的资源(或其中一个依赖项)可能已被删除,名称已更改或暂时不可用。请查看以下网址并确保拼写正确。



我尝试过:



i以两种方式尝试...



1-在page_load下我写了Response.Redirect(WebForm1.aspx); < br $>
2-右键单击我的表格,我将其命名为shuva并转到属性,然后选择Web选项卡并选择特定页面...

解决方案

错误是非常具体的:404错误意味着无法找到您要求的页面。

所以请查看您的文件结构并检查您的位置:如果Webform1.aspx不在同一个文件夹中您当前使用的页面,则需要提供绝对或相对地址。请参阅MSDN: Response.Redirect [ ^ ]


Server Error in '/' Application.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

What I have tried:

i tried in 2 ways...

1- under the page_load i write Response.Redirect("WebForm1.aspx");
2- right click on my form which i named shuva and go properties then select Web tab and select specific page...

解决方案

The error is very specific: a 404 error means that the page you asked for cannot be found.
So look at your file structure and check where you are: if Webform1.aspx is not in the same folder as the page you are currently using, then you will need to provide an absolute or relative address. See MSDN: Response.Redirect[^]


这篇关于我怎么解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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