Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Below is the Html markup for list item and iam using this for menus.

<li class="first"><a href="../Guest/GuestHome.aspx" accesskey="1" title="">Home</a></li>
                <li><a href="../Guest/Client/AddClient.aspx" accesskey="2" title="">Add Client</a></li>
                <li><a href="../Guest/Client/ViewClient.aspx" accesskey="3" title="">View Client</a></li>
                <li><a href="../Guest/Client/ViewInteraction.aspx" accesskey="4" title="">View Notes</a></li>


when i run the website on first time i am able to access the page.
Example first time when i click on Home it will direct to home page.
next time when click on the same link getting error as

The resource cannot be found
href path what i have given is "../Guest/GuestHome.aspx" correct one.
Error msg what i get is

Requested URL:/Guest/Guest/Client/AddClient.aspx

Please help to solve this issue.

Thanks
Posted

1 solution

Requested URL:/Guest/Guest/Client/AddClient.aspx
Clearly, this is an issue of source path defined. The relative path formed is incorrect leading to 'Resource not found' error.

Use the following tip for finding/setting the URL: CP: Resolving Paths in a Multi-Folder WebSite[^]
 
Share this 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