Click here to Skip to main content
12,695,447 members (27,276 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET
i am using this code for navigate to page which keep in inter folder

  • < a href="UserPage/Login.aspx">Logan

  • < a href="UserPage/Contact.aspx">Contact us

  • < a href="UserPage/Photo.aspx">Your photo

when i nevigat after run in occurs a error
: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.
please tell me how to solve this prob
Posted 18-Nov-12 8:29am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

The error means what it says. It can't find the URL you've provided. I suggest putting a / at the start of the URL, so it's not relative, as in /Userpage/Login.aspx.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

or use ../ form starting of the url

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100