Click here to Skip to main content
16,012,316 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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...
Posted
Updated 2-Mar-16 23:32pm

1 solution

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[^]
 
Share this answer
 
Comments
Animesh Datta 3-Mar-16 5:43am    
perfect answer .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900